1

Topic: Automatic deletion of old e-mails

Hi

I am running an iRedMail server and some of my users are rather lazy in deleting their old e-mails. Can I run some kind of garbage collection to remove their old messages from the server? (Say delete all messages that are older than 3 months?) I do not wanto enforce quotas as they are not as effective and would still leave a lot of old message cruft.

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 2.1.3 Pro
- Linux/BSD distribution name and version: Ubuntu 14.04 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? Yes
- Related log if you're reporting an issue:
====

----

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

2

Re: Automatic deletion of old e-mails

Sure. Check this tutorial:
http://wiki2.dovecot.org/Tools/Doveadm/Purge