Submitted by mtahir04july on Thu, 01/21/2010 - 07:49
Hi,
We have a server which have 100,000 email account at diff. host we would like to remove all emails accounts data from each emails but dont want to delete email account is there any command for it.
Thanks
Tahir Atique
Status:
Active
Comments
Submitted by JamieCameron on Thu, 01/21/2010 - 13:07 Comment #1
Do you mean delete their email messages without deleting the mail accounts?
Submitted by mtahir04july on Tue, 01/26/2010 - 05:34 Comment #2
YEs is there any option plz confirm
Submitted by andreychek on Tue, 01/26/2010 - 09:47 Comment #3
No, there's no current option to remove all the email data without deleting the accounts.
To delete the email, you'd need to delete the contents of the $HOME/Maildir/ directory.
One way to do that would be to write a script which looped over all the accounts whose email you'd like to delete, and have that script remove the contents of that users Maildir directory.
Submitted by mtahir04july on Thu, 01/28/2010 - 11:58 Comment #4
If you have such kind of script please tell me
Thanks