12 Oct
2004
12 Oct
'04
6:19 a.m.
On Mon, 11 Oct 2004, Ben Beuchler wrote:
Unfortunately, I've mounted the filesystem with 'noatime'. However, since I'm only interested in people that haven't logged in in a very long time, mtime of .INBOX/.imap.index would probably suffice.
You could also parse the log files. I think it's quite trivial to check for each user what the last match was of 'imap-login:' (grep | tail -1). That way, you can be sure it really was a login.
Ofcourse, it rather depends on how old your log files are, you might not have anything more than a few weeks old.