auth-worker unknown user

Aki Tuomi aki.tuomi at open-xchange.com
Thu Apr 11 19:49:03 EEST 2019


> On 11 April 2019 17:56 Laura Smith via dovecot <dovecot at dovecot.org> wrote:
> 
>  
> On Thursday, April 11, 2019 3:07 PM, Aki Tuomi <aki.tuomi at open-xchange.com> wrote:
> 
> > > On 11 April 2019 16:45 Laura Smith via dovecot < dovecot at dovecot.org> wrote:
> > >
> > > On Thursday, April 11, 2019 2:02 PM, Aki Tuomi < aki.tuomi at open-xchange.com> wrote:
> > >
> > > > PAM is trying to lookup user at domain while you probably only have user. PAM driver does not yet support username_format. 
> > >
> > > > Aki
> > >
> > > But /etc/dovecot/users file isn't pam ?   I don't need pam if if I'm using /etc/dovecot/users ?  Or am I understanding you wrong?
> >
> > you have passdb block using pam. it is involved in the lookup process. 
> >
> > ---
> > Aki Tuomi
> 
> > doveconf -n passdb userdb
> passdb {
>   args = scheme=ARGON2ID username_format=%u /etc/dovecot/users
>   auth_verbose = yes
>   driver = passwd-file
> }
> userdb {
>   args = scheme=ARGON2ID username_format=%u /etc/dovecot/users
>   auth_verbose = yes
>   driver = passwd-file
> }

Looks OK now. PAM is quite often the culprit as it's part of the default shipped config and can be often missed when setting things up.

Aki


More information about the dovecot mailing list