[Dovecot] Executing SQL update upon login

Timo Sirainen tss at iki.fi
Tue Oct 10 17:54:12 UTC 2006


On Tue, 2006-10-10 at 16:44 +0200, Tom Sommer wrote:
> Would it not be better to add a on_login_query which allowed access to a
> list of variables, IP address, username, password etc.
> 
> on_login_query = UPDATE users SET last_login = NOW(), last_ip = %i WHERE
> user = %u

Maybe, since so many people have already asked for this. Patches
welcome ;)

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


More information about the dovecot mailing list