Code: Select all
/* Quarantine settings */
// The quarantine flag is only available on MailScanner >=4.43
// it will dramtically improved the speed of quarantine operations
// but requires that you use the quarantine_maint.php in place of
// the clean.quarantine script provided with MailScanner.
define('QUARANTINE_USE_FLAG', true);
define('QUARANTINE_DAYS_TO_KEEP', 60);
define('QUARANTINE_MAIL_HOST', '127.0.0.1');
define('QUARANTINE_FROM_ADDR', 'spamfilter@domain.com');
define('QUARANTINE_REPORT_FROM_NAME', 'EFA - Email Filter Appliance');
define('QUARANTINE_REPORT_SUBJECT', 'Message Quarantine Report');
define('QUARANTINE_SUBJECT', 'Message released from quarantine');
define('QUARANTINE_MSG_BODY', 'Please find the original message that was quarantined attached to this mail.
Regards,
Postmaster');
define('QUARANTINE_REPORT_HOSTURL', 'http://'.chop(`hostname`).'/mailscanner/');
define('QUARANTINE_REPORT_DAYS', 7);
// set QUARANTINE_USE_SENDMAIL to true to send released email as original email using sendmail,
// false to send it as an attachment to a release message
define('QUARANTINE_USE_SENDMAIL', false);
define('QUARANTINE_SENDMAIL_PATH', '/usr/sbin/sendmail');
If I can get this working, we are going to set up EFA on a much larger scale to handle filtering for all of our clients. We like the idea of giving our clients the ability to release their own messages/attachments. Any help would be appreciated.