In previous MailWatch versions we could enter any username in a non valid email format, to generate 1 single quarantine report for all mail-users for a specific domain.
To select all quarantine mail for *@localhost and send to 1 recipient, (monitor@localhost is just a non existing user, used only for mailwatch)
In the current MailWatch version, you can re-enable this, if needed.
Code: Select all
vi /var/www/html/mailscanner/conf.php
Code: Select all
//Allow the username of domain admins and normal users to not be in mail format (not recommended, only for backward compatibility)
define('ALLOW_NO_USER_DOMAIN',true);
Code: Select all
/usr/local/bin/mailwatch/tools/Cron_jobs/mailwatch_quarantine_report.php
==== Recipient e-mail address is xxxx@xxxx.xxx
==== Building list for localhost
==== Found 897 quarantined e-mails
Nice programming of the MailWatch Team