newbie userdb lookup problem

aki.tuomi at dovecot.fi aki.tuomi at dovecot.fi
Thu Jun 23 05:19:19 UTC 2016


> On June 23, 2016 at 8:01 AM Michael Fox <news at mefox.org> wrote:
> 
> 
> I'm new to Dovecot and I'm having trouble getting basic, flat file userdb
> lookups to work.  This must have been asked before, but if so, I can't find
> it.
> 
>  
> 
> I'm following the basic setup here:
> http://wiki2.dovecot.org/HowTo/SimpleVirtualInstall with a few minor
> differences.  Output of doveconf -n is below, as well as relevant entries
> from postfix main.cf and master.cf.
> 
>  
> 
> When I send a message to a virtual user that will be handled by Dovecot,
> Postfix hands it off to Dovecot LDA.  But I get the following error in the
> log:
> 
>  
> 
> Jun 22 20:53:33 xxxxx dovecot: 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, dir owned by 0:0 mode=0755)
> 
>  
> 
> /var/run/dovecot/ is indeed owned by root:root with 0755 permissions.
> 
> The actual passwd file used for userdb/passdb is currently owned by
> root:vmail with 0640 permissions.
> 
>  

http://wiki.dovecot.org/LDA

Section virtual users, with lookup has the answer.

---
Aki Tuomi


More information about the dovecot mailing list