• We had to restore from a backup today after a failed software update. Backup was from 0000 EDT and restored it at 0800 EDT so we lost about 8hrs. Today is 07/20/2024. More info here.

Dovecot doesn't sort mails in folders

banderas20

Active Member
Joined
Aug 1, 2018
Messages
102
Reaction score
42
Credits
799
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!
 

Members online


Top