Re: [Dovecot] logging IMAP username rather than UNIX username

2008-10-23 Thread Dale Gallagher
Hi Timo 2008/10/22 Timo Sirainen <[EMAIL PROTECTED]>: > 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

Re: [Dovecot] logging IMAP username rather than UNIX username

2008-10-22 Thread Timo Sirainen
On Wed, 2008-10-22 at 12:00 +0200, Dale Gallagher wrote: > Hi there > > I'd like to change my setup to log the _actual_ IMAP user's login, > rather than the UNIX username. My system uses a virtual uid setup with > qmail, where the mailboxes are owned by the 'vmail' user and > authentication is via

Re: [Dovecot] logging IMAP username rather than UNIX username

2008-10-22 Thread Dale Gallagher
My auth section config is: auth default { mechanisms = plain passdb checkpassword { args = /var/qmail/bin/qmail-vauth } userdb prefetch { } user = auth } 2008/10/22 Dale Gallagher <[EMAIL PROTECTED]>: > Hi there > > I'd like to change my setup to log the _actual_ IMAP user's login

[Dovecot] logging IMAP username rather than UNIX username

2008-10-22 Thread Dale Gallagher
Hi there I'd like to change my setup to log the _actual_ IMAP user's login, rather than the UNIX username. My system uses a virtual uid setup with qmail, where the mailboxes are owned by the 'vmail' user and authentication is via checkpassword using user%domain (ie email, just with % instead of @)