New Install / migration from 3.0.2.6 quarantine report is send multiple times

Bugs in eFa 4
Post Reply
jens
Posts: 9
Joined: 25 Feb 2017 22:50

New Install / migration from 3.0.2.6 quarantine report is send multiple times

Post by jens »

Hi,
My new Install / migration from 3.0.2.6 works well so far, adding the LDAP stuff from conf.php.v3 gives me a working AD (Samba4) integration but the quarantine report is send multiple times 8 times for me, 4 times for an other user - both administrator.

A normal user get only one report (but he has only 7 quarantined e-mails)
and the user has a entry:

Code: Select all

==== Building list for hisname@mydomain.de
where the administrator is not shown:

Code: Select all

 ==== Building list for

Code: Select all

  php /usr/bin/mailwatch/tools/Cron_jobs/mailwatch_quarantine_report.php
 
 
 === Generating report for myname@mydomain.de type=A
 ==== Recipient e-mail address is myname@mydomain.de
PHP Deprecated:  Function get_magic_quotes_gpc() is deprecated in /var/www/html/mailscanner/functions.php on line 1117

Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/www/html/mailscanner/functions.php on line 1117
 ==== Building list for
 ==== Found 113 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 myname@mydomain.de
 ==== Building list for
 ==== Found 113 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 myname@mydomain.de
 ==== Building list for
 ==== Found 113 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 myname@mydomain.de
 ==== Building list for
 ==== Found 113 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 myname@mydomain.de
 ==== Building list for
 ==== Found 113 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 myname@mydomain.de
 ==== Building list for
 ==== Found 113 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 myname@mydomain.de
 ==== Building list for
 ==== Found 113 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 myname@mydomain.de
 ==== Building list for
 ==== Found 113 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 myname@mydomain.de
 ==== Building list for
 ==== Found 113 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 myname@mydomain.de

jens
Posts: 9
Joined: 25 Feb 2017 22:50

Re: New Install / migration from 3.0.2.6 quarantine report is send multiple times

Post by jens »

hmm i use the filter for alias emails, but it looks like the quarantine report is send out to each address in filters.

Code: Select all

/mysql -u root mailscanner -e "select * from user_filters" | grep myname@mydomain.de | wc -l
8
and i get the quarantine report 8 times

by looking into

Code: Select all

/usr/bin/mailwatch/tools/Cron_jobs/mailwatch_quarantine_report.php 
that calls 
 /var/www/html/mailscanner/quarantine_report.inc.php
there is that code:

Code: Select all

    private static $filters_sql 
OK, for some reason this is working that way, (could someone shine some light on this? thx)
but if i enter a Quarantine Report Recipient i would expect that only this address receives the report. but i still get it 8 times :-(

any suggestion how to receive only one quarantine report when using the user filter for alias email addresses
Thanks :-)
Post Reply