How Do i get last lgin date for all my users

Marc Patermann hans.moser at ofd-z.niedersachsen.de
Thu Apr 11 04:15:12 EDT 2013


Dale J Chatham schrieb (10.04.2013 21:49 Uhr):

> Assuming Linux?UNIX,
> log onto the machine, run the command: last
This does only work, if IMAP users are system users - which most of the 
time is not the case.

> Perl is your friend.
Pass your imap log for "User logged in". Extract username and timestamp. 
  Update the users entry in your data store with the timestamp.

Maybe your syslog daemon can do something like that for you.


Marc


More information about the Info-cyrus mailing list