• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

last login for ALL email accounts

C

ChildOTK

Guest
Hi Everybody,

I would like to know how I can determine the last login for ALL email accounts on my server?

I maintain a server for a campus, and we used to have a policy on the campus which forced all students to get an email address with us. This has now changed.

I know for a fact there are many accounts which are not being used, I have a little over 2000 email accounts on the server which I need to go through.

Is there a way to bring up a list for ALL accounts for a domain displaying the last login for each account?

I want to delete and remove those that are not being used.


Any help will be appreciated.

Thanks
ChildOTK
 
You could write some shell script for that, loading up the last access dates of the /var/qmail/mailnames/blah.com/user/Maildir/cur directories for example. ?
 
Back
Top