Quarantine reports are being sent twice

Bugs in eFa 4
Post Reply
Jakes
Posts: 5
Joined: 18 Feb 2020 11:58

Quarantine reports are being sent twice

Post by Jakes »

Hi Everyone

I noticed on 3 different Efa servers all currently running eFa-4.0.4.
Quarantine reports are sent twice.

I have checked /var/log/cron and see the job is only run once
[root@smtp log]# cat cron|grep "/etc/cron.daily" |grep mailwatch
Feb 15 05:38:54 smtp5 run-parts(/etc/cron.daily)[64217]: starting mailwatch
Feb 15 05:41:26 smtp5 run-parts(/etc/cron.daily)[81255]: finished mailwatch
Contents of /etc/cron.daily/mailwatch
[root@smtp5 log]# cat /etc/cron.daily/mailwatch
#!/bin/bash
/usr/bin/mailwatch/tools/Cron_jobs/mailwatch_quarantine_report.php >/dev/null 2>&1
/usr/bin/mailwatch/tools/Cron_jobs/mailwatch_quarantine_maint.php --clean >/dev/null 2>&1
/usr/bin/mailwatch/tools/Cron_jobs/mailwatch_db_clean.php >/dev/null 2>&1
If I run manual
[root@smtp7 rules]# /usr/bin/mailwatch/tools/Cron_jobs/mailwatch_quarantine_report.php
=== Generating report for user@host.com type=A
==== Recipient e-mail address is user@host.com
PHP Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/www/html/mailscanner/functions.php on line 1112

Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/www/html/mailscanner/functions.php on line 1112
==== Building list for
==== Found 273 quarantined e-mails
PHP Deprecated: Function get_magic_quotes_runtime() is deprecated in /var/www/html/mailscanner/lib/pear/Mail/mime.php on line 497

Deprecated: Function get_magic_quotes_runtime() is deprecated in /var/www/html/mailscanner/lib/pear/Mail/mime.php on line 497
==== Sent e-mail to user@host.com
==== Building list for
==== Found 273 quarantined e-mails
PHP Deprecated: Function get_magic_quotes_runtime() is deprecated in /var/www/html/mailscanner/lib/pear/Mail/mime.php on line 497

Deprecated: Function get_magic_quotes_runtime() is deprecated in /var/www/html/mailscanner/lib/pear/Mail/mime.php on line 497
==== Sent e-mail to user@host.com
==== Building list for
==== Found 273 quarantined e-mails
PHP Deprecated: Function get_magic_quotes_runtime() is deprecated in /var/www/html/mailscanner/lib/pear/Mail/mime.php on line 497

Deprecated: Function get_magic_quotes_runtime() is deprecated in /var/www/html/mailscanner/lib/pear/Mail/mime.php on line 497
==== Sent e-mail to user@host.com
Any Idea what is causing this?

Thanks
Jakes
Post Reply