last cyrus login date
Bron Gondwana
brong at fastmail.fm
Mon Apr 16 20:38:38 EDT 2007
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.
More information about the Info-cyrus
mailing list