[Dovecot] logging IMAP username rather than UNIX username
Dale Gallagher
dale.gallagher at gmail.com
Thu Oct 23 16:28:51 EEST 2008
Hi Timo
2008/10/22 Timo Sirainen <tss at iki.fi>:
> That means your authentication changes the username.
>
>> passdb checkpassword {
>> args = /var/qmail/bin/qmail-vauth
>> }
>
> Most likely qmail-vauth changes USER environment to vmail. If you can't
> edit qmail-vauth directly, create a wrapper script that unsets the USER
> environment before calling Dovecot's checkpassword-reply.
Yes, you're spot on! USER is changed. Thanks for the heads-up, I'll
see if writing a wrapper works, without messing with the fact that the
process has to run as the vmail user.....
Thanks
Dale
More information about the dovecot
mailing list