[Dovecot] Log the virtual email address and not the local account - dovecot 1.2.2 w/ MySQL

Timo Sirainen tss at iki.fi
Tue Jan 19 15:55:25 EET 2010


On Tue, 2010-01-19 at 15:54 +0200, Timo Sirainen wrote:
> On Wed, 2010-01-06 at 09:38 -0600, Bill wrote:
> > I recently started using dovecot and have it working well but I have one item I haven't been able to find an answer for. I am using MySQL with Dovecot for authentication with my virtual email customers. When the user logs in and checks email a log entry is recorded. Instead of the email address (bob at bob.net) being logged it records the local account (vemail101) in the POP3 log. How can I get dovecot to reflect the email address that the customer logged in with instead of the local account?
> 
> Do the users log in as bob at bob.net or vemail101? If the former, then the
> problem has to do with your passdb and userdb configuration, which
> changes the username. So dovecot -n output would be helpful in giving a
> better answer.

Oh, noticed the subject line now. user_query and password_query would be
helpful then too.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20100119/aebc375c/attachment.bin 


More information about the dovecot mailing list