Re: [Dovecot] auth-worker ownership issue

2010-11-16 Thread Timo Sirainen
On Mon, 2010-11-08 at 23:58 -0500, Jason 'XenoPhage' Frisvold wrote:

> Nov  8 23:36:53 myserver dovecot: auth: Fatal: net_connect_unix(auth-worker) 
> in directory /var/run/dovecot failed: Permission denied (euid=89(vpopmail) 
> egid=89(vchkpw) missing +r perm: auth-worker, euid is not dir owner)

It's not a very good idea to run auth process as vpopmail. The default
is "dovecot", which you should also run it as. So just remove:

service auth {
  user = vpopmail
}




[Dovecot] auth-worker ownership issue

2010-11-08 Thread Jason 'XenoPhage' Frisvold
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Greetings,

I installed 2.0.7 this evening and I'm getting these messages in 
/var/log/maillog :

Nov  8 23:36:53 myserver dovecot: auth: Fatal: net_connect_unix(auth-worker) in 
directory /var/run/dovecot failed: Permission denied (euid=89(vpopmail) 
egid=89(vchkpw) missing +r perm: auth-worker, euid is not dir owner)
Nov  8 23:36:53 myserver dovecot: master: Error: service(auth): command startup 
failed, throttling


If I change the ownership of /var/run/dovecot/auth-worker to vpopmail, dovecot 
starts working properly.  However, restarting the service results in this file 
being re-owned by dovecot.

Am I missing a config option somewhere?  I'm using dovecot with qmail and 
vpopmail 5.4.32.

Thanks,

- ---
Jason 'XenoPhage' Frisvold
xenoph...@godshell.com
- ---
"Any sufficiently advanced magic is indistinguishable from technology."
- - Niven's Inverse of Clarke's Third Law



-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)

iEYEARECAAYFAkzY1OUACgkQ8CjzPZyTUTQVtQCgi3E0N9IL/kBdT59p0CxpU11u
5YMAoIA+2338GzFkRDt8ymusl73tJM07
=cVkA
-END PGP SIGNATURE-