26 Jul
2009
26 Jul
'09
9:40 p.m.
On Sat, 2009-07-25 at 13:38 +0200, FraNL wrote:
After a chown root:root /var/mail/vhosts/mydomain.tld/user chmod 700 /var/mail/vhosts/mydomain.tld/user
Mails shouldn't be owned by root. You should probably pick out some user to use for your mails, such as "vmail" (and create it if it doesn't exist yet). Then configure your userdb to use it.
I get the following error in my log:
Jul 25 13:32:19 dovecot: Fatal: chdir(/var/mail/vhosts/mydomain.tld/user) failed: Permission denied (euid=0(root) egid=1000 UNIX perms seem ok, ACL problem?)
Looks like there was a bug in this logging code. euid wasn't root when chdir() was done. This patch fixes it: http://hg.dovecot.org/dovecot-1.2/raw-rev/25650d7f6b85