Re: [Dovecot] permissions on auth-userdb Error: userdb lookup

2010-09-20 Thread Timo Sirainen
On Mon, 2010-09-20 at 19:32 +0200, Dieter Knopf wrote: > service auth { > unix_listener auth-master { You need to change auth-userdb, not auth-master > group = vmail > user = vmail > mode = 0600 > > } > } > > Seems like my config part is for the auth-master-sock only. > So i nee

Re: [Dovecot] permissions on auth-userdb Error: userdb lookup

2010-09-20 Thread Dieter Knopf
2010/9/20 Timo Sirainen : > And when you set those, does auth-userdb socket's owner/group change or > is it still root? Nope :( srw--- 1 rootroot 0 20. Sep 19:28 auth-client srw--- 1 dovecot root 0 20. Sep 19:28 auth-login srw--- 1 vmail vmail 0 20. Sep 19:28 auth-master srw---

Re: [Dovecot] permissions on auth-userdb Error: userdb lookup

2010-09-20 Thread Timo Sirainen
On Mon, 2010-09-20 at 18:26 +0200, Dieter Knopf wrote: > 2010/9/20 Timo Sirainen : > > No, it's trying to open it as the mail user, and above shows that it's > > vmail. So make the socket accessible to vmail: > > > > service auth { > > unix_listener auth-userdb { > >user = vmail > > } > > } >

Re: [Dovecot] permissions on auth-userdb Error: userdb lookup

2010-09-20 Thread Dieter Knopf
2010/9/20 Timo Sirainen : > No, it's trying to open it as the mail user, and above shows that it's > vmail. So make the socket accessible to vmail: > > service auth { >  unix_listener auth-userdb { >    user = vmail >  } > } Thanks for the tipp, i added this (again) and still have the error :( I t

Re: [Dovecot] permissions on auth-userdb Error: userdb lookup

2010-09-20 Thread LEVAI Daniel
On Mon, Sep 20, 2010 at 14:59:20 +0100, Timo Sirainen wrote: > On Mon, 2010-09-20 at 08:55 +0200, LEVAI Daniel wrote: > > > 2010-09-20 06:28:04 lda: Error: userdb lookup: > > > connect(/var/run/dovecot/auth-userdb) failed: Permission denied > > > (euid=5000(vmail) egid=5000(vmail) missing +r perm:

Re: [Dovecot] permissions on auth-userdb Error: userdb lookup

2010-09-20 Thread Timo Sirainen
On Mon, 2010-09-20 at 08:55 +0200, LEVAI Daniel wrote: > > 2010-09-20 06:28:04 lda: Error: userdb lookup: > > connect(/var/run/dovecot/auth-userdb) failed: Permission denied > > (euid=5000(vmail) egid=5000(vmail) missing +r perm: > > /var/run/dovecot/auth-userdb, euid is not dir owner) > > Dovecot

Re: [Dovecot] permissions on auth-userdb Error: userdb lookup

2010-09-20 Thread Dieter Knopf
2010/9/20 LEVAI Daniel : > Dovecot tries to open that file with the "default_internal_user" user, > which is configurable in dovecot.conf. See > # doveconf -h default_internal_user > what is the current user for you. Default user is dovecot like it was with 1.2, but there is a new user dovenull #

Re: [Dovecot] permissions on auth-userdb Error: userdb lookup

2010-09-19 Thread LEVAI Daniel
On Mon, Sep 20, 2010 at 06:34:01 +0200, Dieter Knopf wrote: > Hello, > > first sorry for this question. I already found many threads about this > problem including a thread in this list from August 2010, but nothing > helped :( > > Here is the error: > 2010-09-20 06:28:04 lda: Debug: Loading modu

[Dovecot] permissions on auth-userdb Error: userdb lookup

2010-09-19 Thread Dieter Knopf
Hello, first sorry for this question. I already found many threads about this problem including a thread in this list from August 2010, but nothing helped :( Here is the error: 2010-09-20 06:28:04 lda: Debug: Loading modules from directory: /usr/lib/dovecot/modules/ 2010-09-20 06:28:04 lda: Debug