1 (edited by craig 2013-09-12 19:59:20)

Topic: Deleted Accounts not Deleted

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

Hi there,

Still evaluating the free version of iRedMail before I consider upgrading.

I realise that accounts are not deleted from the file system by design, although I can't imagine how or why this is a good idea. On an active server -- which mine will be, as it's replacing an existing non-iRedMail server -- this will just lead to the accumulation of cruft and wasted disk space.

That said, I saw a reference in "Remove mailboxes when deleting user" to the "deleted_mailboxes" table, with a suggestion that a cron job could be run to remove old mailboxes from the file system. However, when I delete an account / mail box, nothing is added to this table.

Two questions:

1) Why is nothing added to the "deleted_mailboxes" table, and how can I run a cron job if there's nothing in there?
2) Does the current Pro version support deleting accounts from the file system on demand, or must it be done manually or via a cron job? If the latter, is it working?

Thanks.


Craig

----

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

2

Re: Deleted Accounts not Deleted

craig wrote:

1) Why is nothing added to the "deleted_mailboxes" table, and how can I run a cron job if there's nothing in there?

iRedMail ships iRedAdmin open source edition, but it doesn't log deleted mailbox in SQL table. iRedAdmin-Pro does.

craig wrote:

2) Does the current Pro version support deleting accounts from the file system on demand, or must it be done manually or via a cron job? If the latter, is it working?

iRedAdmin-Pro logs maildir path of deleted mailbox, not delete mailboxes on file system immediately. So you have to remove the mailbox manually or via a cron job.

3

Re: Deleted Accounts not Deleted

Thanks.