[Dovecot] Master user with "user="?

Timo Sirainen tss at iki.fi
Fri Jan 9 21:20:53 EET 2009


On Tue, 2008-12-16 at 12:16 -0500, Alan Ferrency wrote:
> > > However, it seems that if we use the master user to log into a
> > > username that is in the passdb with a "user=" field, dovecot looks in
> > > the userdb for the original username, and not for the "user="
> > > username specified in the passdb passwd-file.
> > >
> > > Is this a known bug?  Maybe I'm doing something wrong?
> >
> > Works fine here with latest v1.1 code. Set auth_debug=yes and show me
> > the logs when logging in? Also show dovecot -n output.

Oh, I was just testing it wrong. It's anyway a simple problem:

>   passdb:
>     driver: passwd-file
>     args: /usr/boxes/.passwd/master.user
>     master: yes

This causes Dovecot to log in the user immediately without doing another
passdb lookup. Add pass=yes inside the passdb {} and it'll do the passdb
lookup and find the user extra field.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090109/60a79b9c/attachment.bin 


More information about the dovecot mailing list