1

Topic: auto delete error mail

==== Required information ====
- iRedMail version (check /etc/iredmail-release):     v0.9.5-1
- 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? yes
- Related log if you're reporting an issue:
----------------------------------------------------------------------------------
I'm typing command 'postqueue -p', saw a lot of user send error address. i want to set auto delete the error mail, how dis set the first 60 minutes of deleted once?

----

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

2

Re: auto delete error mail

*) Not all emails which have sending "error" are safe to delete, i don't think you really want to do this.
*) If you're sure some emails are ok to delete, try to delete it with 'postsuper' command with '-d' option.

3

Re: auto delete error mail

I want the system to automatically delete emails after 2 hours send failed