I have installed postfix+dovecot+squirrelmail+sasl in Debian Squeeze. I can send email through squirrelmail, but can't receive mails there. I can view received mails only through cat /var/mail/user. Also it created /var/mail/u/user dirs where ls list inbox INBOX INBOX.Drafts INBOX.Sent (where the sent messages are stored in squirrelmail) INBOX.Trash, so I think that I should redirect the inbox from /var/mail/user to /var/mail/u/user/inbox. The section in dovecot is:
mail_location = mbox:/var/mail
mail_location = Maildir:/var/mail/%n
mail_location = mbox:/var/mail/%d/%1n/%n:INDEX=/var/indexes/%d/%1n/%n
I am not sure is it correct and where really is the problem.