1

Topic: Completely remove mailbox.

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

How do I completely remove a mailbox in an automated way? From my current knowledge, I guess removing the rows from vmail tables mailbox and alias, and deleting the maildir associated with the mailbox should be enough, is that correct? Anything else I need to do?

Thanks!

----

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

2

Re: Completely remove mailbox.

You're right: SQL records and mailbox on file system.