Monday, July 1, 2019

imap - Change Dovecot mail directory

I've set up a mail server with Dovecot over SSL. It is receiving emails and placing them in the directory:



/home/*user*/Maildir/new



I can view them in Vim.



However, when I connect to the email via IMAP or Telnet, it does not retrieve anything. Is there somewhere I need to change a directory? Or does anyone have any ideas as to where to look for clue or potential issues. The mail logs are empty.



UPDATE



I found in /etc/dovecot/conf.d/10-mail.conf:



mail_location = mbox:~/mail:INBOX=/var/mail/%u



But /var/mail/user is empty; my mail is is /home/user/Maildir/new



Crossed wires somewhere.

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...