1

Topic: remove unused mailboxes (mysql version)

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

Created a script to run in crontab to remove unused mailboxes... script just makes diff with mailboxes on filesystem and in database...

please read note in script beggining... if there is no conditions met, script will not work...

https://github.com/Atoms/iredadmin-scripts

2

Re: remove unused mailboxes (mysql version)

Anyway instead of removing the mailbox folder with de-activate the account?