Quarantine_reports and backward compatibility
Posted: 13 Mar 2018 14:05
In the current MailWatch version, the Non administrator User Type requires a valid email address for usernames, by default.
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.
We have an option to bypass the username mail format for non Administrators
=== Generating report for monitor@localhost type=D
==== Recipient e-mail address is xxxx@xxxx.xxx
==== Building list for localhost
==== Found 897 quarantined e-mails
Nice programming of the MailWatch Team
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