Setting up mailboxes in postfix-dovecot

Asked by Mark Roberge on 2010-11-24

I am running server and have installed postfix-dovecot. I can telnet the ports and everything is fine. How do I setup the mailboxes. I have looked everywhere for this information and have had no luck. Looking for ideas on where to find this information. Thanks

Question information

English Edit question
Ubuntu postfix Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
LtWorf (tiposchi) said :

You should make dovecot's mail location match the one in postfix. I don't know about your configuration but in my dovecot i have:

mail_location = mbox:/var/mail/non-in/%u:INBOX=/var/mail/%u

which is a mess because it defines a path for the inbox and a different path for all the other folders.
Since by default postfix should save the incoming emails in files like /var/mail/username (username is a place holder for the real user name).
The dovecot configuration line uses those files for inbox directories and the /var/mail/non-in/username directory for the other mail directories. Of course you must make sure that those directories are created before trying to use them.

Can you help with this problem?

Provide an answer of your own, or ask Mark Roberge for more information if necessary.

To post a message you must log in.