On Wed, 2008-10-08 at 11:12 +0200, Claudio Prono wrote:
Very strange, i have tryied to chmod 666 all log files, like that:
-rw-rw-rw- 1 root root 681 Oct 8 11:08 dovecot-err.log -rw-rw-rw- 1 root root 1039 Oct 8 11:02 dovecot-inf.log
(Is terrible i know, but only a test)
Now i have another error (written in log of dovecot!)
deliver(mediatest@atpss.net): Oct 08 11:08:20 Error: Can't connect to auth server at /var/run/dovecot/auth-master: Permission denied
Seems all a problem of user running dovecot...is not root? Dunno why... In config there isn't nothing to do so.
deliver isn't normally run as root, unless you've made it setuid-root. So the log files and the auth-master socket need to be writable by the user who runs deliver (as defined in Postfix's master.cf).
(Of course the user running deliver also needs to have access to all users' mails. If you're using system users you'll need to make deliver setuid-root.)