On Mon, Apr 16, 2007 at 11:13:54AM -0500, Blake Hudson wrote: > John M. Crawford wrote: > > Blake, > > I'm wondering about the same thing... Did you come up with > > a nice method to determine last login event? > > thanks, > > John > I have not yet put in the effort into making a system to do this. It may > be easy enough to hack at the cyrus code, but honestly I don't feel > comfortable and besides it may not be the best solution for my end goal. > > Instead I may just tail the mail log for successful logins and keep > dates in a sql database along with the mailbox information that we > already have there. This will allow us to more quickly and easily poll > for account activity at a global level. Another solution is a custom saslauthd implementation which logs the details to your database. That's what we do (actually, I think we only log from the authd on our frontend proxy servers, because we know the external IP address there, but we could flip a bit in the config file and get logging from the backends too) Bron. ---- Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html