Had to reinstall my server using Fedora 29, and configuring local mail, via dovecot, I forget where to set the mail_location path to? ~/Maildir doesn't give off errors, but I seem to currently not get any mail. I thought /var/mail/ was the main root mail dir for users but I can't get dovecot not to error pointing to it, such as /var/mail/%u or whatever.
Any ideas if that makese any sense? LOL
On Sun, 23 Dec 2018 12:04:14 -0600 Mike Chambers wrote:
Any ideas if that makese any sense? LOL
Well, in my /etc/dovecot/conf.d/10-mail.conf
I have mail_location set like this:
mail_location = maildir:~/Maildir
Which stashes mail in my home directory where I recover it when I gen a new OS since I keep the old home directory.
On Sun, 2018-12-23 at 12:04 -0600, Mike Chambers wrote:
Had to reinstall my server using Fedora 29, and configuring local mail, via dovecot, I forget where to set the mail_location path to? ~/Maildir doesn't give off errors, but I seem to currently not get any mail. I thought /var/mail/ was the main root mail dir for users but I can't get dovecot not to error pointing to it, such as /var/mail/%u or whatever.
Any ideas if that makese any sense? LOL
The fix was 1 things..
1 - mail_location = mbox:~/mail:INBOX=/var/mail/%u
2 - chmod 0600 /var/mail/*
Then I finally started getting my email. Thought there was a permissions issue but couldn't nail it down until I started checking more maillogs in more detail.
Works now though, but thanks.
Allegedly, on or about 23 December 2018, Mike Chambers sent:
I thought /var/mail/ was the main root mail dir for users but I can't get dovecot not to error pointing to it, such as /var/mail/%u or whatever.
/var/spool/mail/username or /var/mail/username (one symlinks to the other, these days), is where the system delivers mail to that user.
When a user gets their mail, it may move into a /home/username/mail or /home/username/Maildir location. Perhaps all their mail may end up in their homespace, or just the messages that they move out of their inbox (it depends on how they configure things).