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

Thomas Leuxner tlx at leuxner.net
Sun Nov 29 21:40:13 EET 2009


Am 29.11.2009 um 20:31 schrieb Frank Cusack:
>>> 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)

So it can't access that directory as it states. It would create that structure upon start to my knowledge. Mine is

[20:38] root spectre:/# l -d /var/run/dovecot
drwxr-xr-x 3 root root 4096 2009-11-25 13:20 /var/run/dovecot

What is yours?

Regards
Thomas




More information about the dovecot mailing list