Automatically delete unused email accounts

I am running Sun ONE Messaging Server 5.2 on Solaris.
How can I automatically detect and delete email accounts that have not been accessed in the last 60 days?
Please advice.
Raj

If you mean by accessed, the user hasn't logged-in to check their E-mail, you'd probably have to write a script to parse the pop or imap logs in msg-instance/log.
If you write it in perl, it would be fairly straight forward. Perl has some very nice date/time parsing routines.
I did a quick check of the schema reference and found nothing related to password expiration.
Also, this is often considered an external maintenance issue. Along with an E-mail account, users will typically get a Unix or Windows system account. When the user's system account is deleted, the mail administrator should be notified to delete the user's mail account. We have scripts that perform creation and deletion of accounts.
Roger S.

Similar Messages

Maybe you are looking for