Dovecot doesn't sort mails in folders

banderas20

New Member
Credits
97
Hi!

I'm setting up a Postfix + Dovecot mailserver.

Once Dovecot is installed, I edit "/etc/dovecot/conf.d/10-mail.conf" and set this directive as follows:

Code:
mail_location = maildir:~/Maildir
Upon restarting dovecot service, I send an email and I expect to have a folder named
Code:
/home/username/Maildir
However, the folder doesn't exist and the mail only appears in
Code:
/var/mail/username
¿What am I missing?

Thanks!
 


f33dm3bits

Gold Member
Gold Supporter
Credits
7,600
postfix is for mail transfer, dovecot is an imap server as in how you can retrieve your mail in order to read it. If you want to allow postfix to receive mail in Maildir format, you will have to edit the /etc/postfix/main.cf --> home_mailbox = Maildir/ . Then to allow dovecot to read your receive mail you have to configure the mail_location. Checkout Postfix Basic Setup.
 

banderas20

New Member
Credits
97
postfix is for mail transfer, dovecot is an imap server as in how you can retrieve your mail in order to read it. If you want to allow postfix to receive mail in Maildir format, you will have to edit the /etc/postfix/main.cf --> home_mailbox = Maildir/ . Then to allow dovecot to read your receive mail you have to configure the mail_location. Checkout Postfix Basic Setup.
Hi!

Yes. I have checked both config files to match the mail location and it's working now.

Thank you very much!
 


Staff online

Members online


Top