On Sat, 2007-11-03 at 18:14 +0200, dale gallagher wrote: > After upgrading to dovecot 1.0.7 I noticed that the actual username is > no longer logged, but rather the system user (in my case 'vmail') > under which my virtual set-up runs.
Upgrading from what version? I don't think I've changed anything for a long time related to this. > auth default { > mechanisms = plain > passdb checkpassword { > args = /var/qmail/bin/qmail-vauth > } .. > 2007-11-03 15:41:56.027191500 dovecot: Info: imap-login: Login: > user=<vmail>, method=PLAIN, rip=192.168.0.141, lip=192.168.0.10, TLS It looks like your qmail-vauth changes $USER environment to "vmail", which causes dovecot-auth to change the username internally. Since some people really want this feature, you'll probably have to write a wrapper checkpassword that unsets $USER before it calls Dovecot's checkpassword-reply.
signature.asc
Description: This is a digitally signed message part