[Dovecot] IMAP vs system username logging with checkpassword auth

dale gallagher dale.gallagher at gmail.com
Sat Nov 3 18:14:15 EET 2007


Hi

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. Now I'm unable to see which
virtual users log in. Any pointers on how to configure dovecot to log
the actual username given during the IMAP dialogue would be
appreciated.

My dovecot.conf includes the following:

auth default {
  mechanisms = plain
  passdb checkpassword {
    args = /var/qmail/bin/qmail-vauth
  }
  userdb prefetch {
  }
  user = auth
}

An example logfile entry:

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


More information about the dovecot mailing list