Topic: iRedMail 0.9.3 - How to scan maildirs for existing spam & delete?
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.3
- Linux/BSD distribution name and version: CentOS 7.1
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MariaDB
- Web server (Apache or Nginx): Apache
====
Due to some rbl config issues many spam emails were delivered to several accounts on my iRedMail server.
Is there a way for an admin (me) using the command line (bash shell on iRedMail server) to run a job or command that will go down into the user mail directories and search for spam and delete those messages in a bulk manner?
Thanks
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.