deleting old user with mailbox.

I have a lot of inactive / expired mail users. How can I find and delete them with their assosiated mailbox.Thanks.
[129 byte] By [azfar] at [2007-11-26 11:59:32]
# 1
Hi,If the accounts no-longer have associated LDAP entries (orphan accounts), you can use the reconstruct -o command on the mail-stores.Regards,Shane.
shane_hjorth at 2007-7-7 12:21:34 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 2

Reconstruct -o used to create a script that checks ldap for existance of mail users. If they are not in ldap, then a script is created you can run that removes mailboxes.

If you only have a few, and know who they are, then you can use

mboxutil

to remove the users' mail store.

jay_plesset at 2007-7-7 12:21:34 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 3
thanks Jay.
azfar at 2007-7-7 12:21:34 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...