Page 1 of 1

3.0.26 Quarantine reports failure

Posted: 15 Jan 2018 20:48
by cphillips
All,

I've built a new EFA box and it's not sending out the quarantine reports at all, I'm seeing the following when running the cron job (/etc/cron.daily/mailwatch -> /usr/local/bin/mailwatch/tools/Cron_jobs/mailwatch_quarantine_report.php

Code: Select all

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/mailscanner/lib/pear/Mail/mimePart.php on line 314
 ==== ERROR sending e-mail to xxx@xxx.co.uk Validation failed for: EFA - Email Filter Appliance <>
Any ideas on how to get this up and running?!

Thanks

Re: 3.0.26 Quarantine reports failure

Posted: 20 Jan 2018 11:06
by henk
Just take a look at this viewtopic.php?f=13&t=2429

the warnings on depricated php functions is not the reason the report is failing, so check user and domain

[root@sansspam ~]#

Code: Select all

/usr/local/bin/mailwatch/tools/Cron_jobs/mailwatch_quarantine_report.php
=== Generating report for monitor@localhost type=D
==== Recipient e-mail address is xxxx@xxxx.xxx
==== Building list for localhost
==== Found 17 quarantined e-mails
PHP Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /var/www/html/mailscanner/lib/pear/Mail/mime.php on line 861

Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /var/www/html/mailscanner/lib/pear/Mail/mime.php on line 861
PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/mailscanner/lib/pear/Mail/mimePart.php on line 314

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/mailscanner/lib/pear/Mail/mimePart.php on line 314
PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/mailscanner/lib/pear/Mail/mimePart.php on line 314

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/mailscanner/lib/pear/Mail/mimePart.php on line 314
PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/mailscanner/lib/pear/Mail/mimePart.php on line 314

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/mailscanner/lib/pear/Mail/mimePart.php on line 314
==== Sent e-mail to xxxx@xxxx.xxx