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

Timo Sirainen tss at iki.fi
Mon Sep 20 16:59:20 EEST 2010


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 tries to open that file with the "default_internal_user" user,

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
  }
}




More information about the dovecot mailing list