[Dovecot] Vpopmail and lastauth

Timo Sirainen tss at iki.fi
Tue Apr 12 17:13:49 EEST 2011

On Tue, 2011-04-12 at 16:03 +0200, mailing at securitylabs.it wrote:
> On 12/04/2011 15:51, Rick Romero wrote:
> > I had the same issue - Dovecot has it's own method of updating 
> > lastauth and doesn't put the IP address in the field, but 'pop' or 
> > 'imap'.
> That's would be fine, I don't need the IP and with 1.2.16 it works (no 
> IP, only pop3/imap logged). But with 2.0.11 the file is not updated at all.
> I can use a post login script as suggested by you but since I only need 
> the file to be updated as in 1.2.x I'm figuring out if I need to update 
> my conf in some way.

Probably adding blocking=no args to passdb and userdb helps:

passdb {
  driver = vpopmail
  args = blocking=no
userdb {
  driver = vpopmail
  args = blocking=no

Also instead of those two changes, you could apply this patch:

More information about the dovecot mailing list