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.