[Dovecot] /var/run/dovecot mode 750 too tight

Frank Cusack fcusack at fcusack.com
Sun Nov 29 20:24:35 EET 2009


dovecot-1.2.8 creates /var/run/dovecot mode 750.

I run postfix+dovecot in a virtual user setup.  Postfix calls deliver
as user vmail group vmail.

Nov 29 12:53:04 imap.invalid dovecot: [ID 583609 mail.error] 
deliver(frank): userdb lookup: connect(/var/run/dovecot/auth-master) 
failed: Permission denied (euid=500(vmail) egid=500(vmail) missing +x perm: 
/var/run/dovecot)

I will say this: dovecot's error reporting in general is head and shoulders
above the norm.  Makes tracking down problems sooo much easier.

Something else I noticed, should the dict-server socket really be mode 777?
At least a-x I would think.

-frank


More information about the dovecot mailing list