4 messages in net.sourceforge.lists.courier-usersRe: [courier-users] about AuthMysql
FromSent OnAttachments
-=onix=-Oct 27, 2005 10:34 am 
Jay LeeOct 27, 2005 10:51 am 
Greg SwiftFeb 13, 2006 1:10 pm 
Greg SwiftFeb 13, 2006 1:14 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] about AuthMysqlActions...
From:Jay Lee (jl@pbu.edu)
Date:Oct 27, 2005 10:51:46 am
List:net.sourceforge.lists.courier-users

-=onix=- wrote:

I use courier-imap (for pop3 and imap users) and courier-authdaemon with mysql auth I need to store in database time and date of last login user This is possible?

You might be able to use MYSQL_SELECT_CLAUSE setting in authmysqlrc to both select the user and update a date field. However, I'm not certain this will work, the date may be updated on failed logins also... The information is of course logged to your system logs... You could also write a script to grep through those each night or so...

Jay