How do I tell Dovecot and Sendmail to use the Same Directory for User Email
Posted on 2014-04-28
Well this is the third question in a series of questions about POP3 and Email retrieval on CentOS.
The First 2 have been answered and I now have Password Authentication working as well as the ability to send mail to the server for individual users. Thanks Ian and Sandy..
My problem now is How do I get Sendmail and Dovecot to use the same 'Folder/directory' for email. Sendmail wants to put it in /var/mail<username> where <username> is an actual file and Dovecot want to look for email in the users /home directory... not a file.
Oh... and leaving mail_location blank did not work either. If you can tell me how to make that work I would use that..
I have tied to modify /etc/login.defs and /etc/dovecot/conf.d/10-mail.conf but I have not yet found a 'combination' that works.
As always thanks in advance for any help you can give me.. BTW please provide and example as I read and tried different combinations until I am blue in the face... :)