3.0.26 Quarantine reports failure

Questions and answers about how to do stuff
Post Reply
cphillips
Posts: 27
Joined: 12 Nov 2016 20:16

3.0.26 Quarantine reports failure

Post 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
henk
Posts: 517
Joined: 14 Dec 2015 22:16
Location: Netherlands
Contact:

Re: 3.0.26 Quarantine reports failure

Post 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
“We are stuck with technology when what we really want is just stuff that works.” -Douglas Adams
Post Reply