23 Oct
2008
23 Oct
'08
4:28 p.m.
Hi Timo
2008/10/22 Timo Sirainen tss@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