[Dovecot] Track when user last checked mail

Chris Wakelin c.d.wakelin at reading.ac.uk
Tue Apr 26 00:45:14 EEST 2005


Del Stoliker wrote:
> First off I've just got to say thanks.  We just upgraded from UW to Dovecot
> migrating from mbox to maildir.  Wow, what a difference!  Load average used
> to hang around 5.0 during business hours and could get up to 20+ on a bad
> day.  Now we rarely break 1.0!

That's encouraging for those of us planning this change :)

> I'm wondering if there's a way to keep track of the last time a user checked
> their email and whether they checked it using POP or IMAP.  We're trying to
> gather statistics on what protocols our users use and find accounts that
> haven't been checked for a long time.  We used to be able to do some of this
> with the finger command and the user's mbox.  I found a script called
> "mfinger" that works better with Maildir, but it's designed for Courier.

Can't you just grep through the logs? It's not too hard to add extra 
logging if needed; I've currently got SELECTs (i.e. IMAP folder opens) 
logged, for example.

Best Wishes,
Chris

-- 
--+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+-
Christopher Wakelin,                           c.d.wakelin at reading.ac.uk
IT Services Centre, The University of Reading,  Tel: +44 (0)118 378 8439
Whiteknights, Reading, RG6 2AF, UK              Fax: +44 (0)118 975 3094



More information about the dovecot mailing list