I was configuring a mail server in CentOS7 environment with Postfix and Dovecot. When configuring Dovecot to deliver mails to the users, I noticed the following error in the mail log and user was not able to get mails in the INBOX.
dovecot: pop3(<user>@<domain>): namespace configuration error: inbox=yes namespace missing top=0/0, retr=0/0, del=0/0, size=0
According to the reviews, the error was with the name space definitions in /etc/dovecot/conf.d/15-mailboxes.conf where inbox was not enabled. I have added inbox=yes under the namespace inbox{ definition.
Please find the added line in the below content
namespace inbox {
inbox=yes #This line was added
# These mailboxes are widely used and could perhaps be created automatically:
mailbox Drafts {
special_use = \Drafts
}
mailbox Junk {
special_use = \Junk
}
mailbox Trash {
special_use = \Trash
}
Good Reference:
https://dwaves.org/2018/08/14/centos7-dovecot-exim-error-user-userdomain-com-initialization-failed-namespace-configuration-error-inboxyes-namespace-missing-error-invalid-user-settings/