[Dovecot] Dovecot 2.0 - LDA auth-master issues
Hi,
I'm running a Postfix+Dovecot+MySQL setup, and am trying to upgrade to Dovecot 2.0 beta 4. The problem I run into is that lda cannot connect to the auth-master socket.
== Apr 9 15:29:51 mysql postfix/pipe[3749]: 2AAB04517F: to=<EMAIL-ADDRESS>, relay=dovecot, delay=0.02, delays=0.01/0/0/0.02, dsn=4.3.0, status=deferred (temporary failure. Command output: lda: Error: userdb lookup: connect(/usr/local/var/run/dovecot/auth-master) failed: Permission denied (euid=80(www) egid=1003(dovecot) missing +r perm: /usr/local/var/run/dovecot/auth-master, euid is not dir owner) lda: Fatal: User lookup failed: userdb lookup failed )
Dovecot seems to set the permission of the auth-master socket to user root, mode 600. In Dovecot 1 there was a "mode" and a "user" option to change this.
In Dovecot 2 I can only find an option to change the socket path ("auth_socket_path"), but not it's user or mode. Any idea on how to solve this?
Your sincerely,
Floris Bos
ON 09.04.2010 16:10, wrote Floris Bos:
In Dovecot 2 I can only find an option to change the socket path ("auth_socket_path"), but not it's user or mode. Any idea on how to solve this?
You can set this in master.conf
service auth { unix_listener auth-master { group = mode = 0600 user = } }
Regards, e-frog
On Fri, 2010-04-09 at 16:50 +0200, e-frog wrote:
ON 09.04.2010 16:10, wrote Floris Bos:
In Dovecot 2 I can only find an option to change the socket path ("auth_socket_path"), but not it's user or mode. Any idea on how to solve this?
You can set this in master.conf
service auth { unix_listener auth-master { group = mode = 0600 user = } }
Note that in v2.0 the socket name matters. You should use auth-userdb socket instead, because it's enough for LDA and has more restrictions than auth-master.
participants (3)
-
e-frog
-
Floris Bos
-
Timo Sirainen