1

Topic: MailDir not deleting upon deletion of user in iredadmin-PRO

==== Provide required information ====
- iRedMail version and backend (LDAP/MySQL/PGSQL): 0.8.1 OpenLDAP
- Linux/BSD distribution name and version: CentOS 6.3
- Any related log? Log is helpful for troubleshooting.
====

Zhang,

I just noticed that iredadmin-PRO is not deleting the MailDir in /var/vmail/vmail1/<domain>/..... when a user is deleted in iredadmin-pro.

It appears if I create the username Juvix, and then send an email to myself, it will auto-create a MailDir called juvix-2012.07.30....(date). If I go ahead and delete the user and then re-create the same user, a new folder is created with a new creation date. The old MailDir along with the e-mails never get deleted.

Is this a bug? feature? Please advise.

----

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

2

Re: MailDir not deleting upon deletion of user in iredadmin-PRO

Works as designed, iRedAdmin-Pro won't removing mailbox.
Will try to improve it in future release. Thanks for your feedback. smile

3

Re: MailDir not deleting upon deletion of user in iredadmin-PRO

Quick response Zhang!

So just to confirm, this is not a bug, it is a feature? My only concern about this is running out of space on larger mail systems because emails are physically being kept with no cleanup.

4

Re: MailDir not deleting upon deletion of user in iredadmin-PRO

Yes, not a bug.
I completely understand your concern, will try to improve it in future releases.