Dovecot doesn't sort mails in folders

banderas20

Member
Joined
Aug 1, 2018
Messages
96
Reaction score
39
Credits
746
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!
 


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.
 
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