I'm looking to programmatically retrieve the last login date of a particular email account via IMAP, POP3, or the webmail client that we offer. I'm failry sure I can figure out the webmail client thing myself, but where I'm stuck is IMAP and POP3.
We use courier for IMAP and postfix for POP3 on a linux box. I need any kind of a command or something to retrieve either all logins and the date the logged in, or per account and I'll look through them myself.
I've been looking on the internet and I've seen nothing that is even remotely close. I'm not a very good googler =P
Any help would be mucho appreciated. Thank you!
(ill be responding to this topic very quickly, so dont go anywhere!)
P.S. We use squirrelmail as our webmail client.