1

Topic: Residual information left after deleting a domain or account

What residual information is left after deleting a domain or account in iRedAdmin? Assume that data in the roundcube database remains and that mail remains in /var/vmail after deleting in iRedAdmin. What else am missing? Does the domain and user account/ password remain (hashed/ encrypted) in a SQL database somewhere?



==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.7
- Linux/BSD distribution name and version: Debian 9
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MariaDB
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue. NA
====

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Residual information left after deleting a domain or account

While deleting a mail domain or user with iRedAdmin, you have an option to keep the mailbox for some time (or forever), there's a cron job ("/xx/iredadmin/tools/delete_mailboxes.py") will remove their mailboxes - if it's scheduled to be removed on that day. And mail accounts/passwords are removed from SQL db.

Data in few applications are not removed (yet):

- Roundcube SQL db (personal address book, webmail preferences)
- iRedAPD SQL db (white/blacklists, greylisting setting, throttle settings)
- Amavisd SQL db (white/blacklists)