Topic: Script to delete mailboxes

==== Required information ====
- iRedMail version: iRedAdmin-0.2.2 and iRedAdmin-Pro-MySQL-1.7.0
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): Mysql
- Linux/BSD distribution name and version: CentOS release 6.4
- Related log if you're reporting an issue:

I checked a few topis about removing maildir from deleted users.
They all say we have to create a scritp or use a cron job.
Anyone has this script developed that could send it to me so we can use it in our servers?
Thank you!


Re: Script to delete mailboxes

iRedAdmin-Pro doesn't ship one by default, but it should be easy to write one, or delete maildirs manually.


Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee


Re: Script to delete mailboxes

If you delete a user's mailbox directory, isn't there still a database log of their account (e.g., MySQL)?  So should you run a MySQL query to remove the row containing the account, as well?