Clean/Delete Unused Email Accounts

czotos

Verified User
Joined
Oct 19, 2007
Messages
208
Hi, I am looking for a way to see which email accounts (for all DA users) on my server are not being used.

In other words, I would like to delete all email accounts which have not had any authenticated login via POP or IMAP in the last 6 months.

I'm sure all authenticated logins are being logged on the server. Which log file should I look at for this?

Do any of you have a quick script or command I can type to view the last time a particular email account was accessed via POP or IMAP (including RoundCube webmail)?

Thanks!
 
Back
Top