[Dovecot] Something weird happening...

Timo Sirainen tss at iki.fi
Wed Oct 8 22:20:19 EEST 2008


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 at 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.)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20081008/8f28df47/attachment.bin 


More information about the dovecot mailing list