Hi list,
recently I’ve got the following error in an outbound mail:
Jul 19 14:13:38 debmail2 amavis[30971]: (30971-01) (!!)TROUBLE in check_mail: spam-wb-list FAILED: Can't use string ("13") as an ARRAY ref while "strict refs" in use at /usr/sbin/amavisd-new line 5531.
Jul 19 14:13:38 debmail2 amavis[30971]: (30971-01) sending SMTP response: "451 4.5.0 Error in processing, id=30971-01, spam-wb-list FAILED: Can't use string ("13") as an ARRAY ref while "strict refs" in use at /usr/sbin/amavisd-new line 5531."
Jul 19 14:13:38 debmail2 postfix/smtpd[30989]: proxy-reject: END-OF-MESSAGE: 451 4.5.0 Error in processing, id=30971-01, spam-wb-list FAILED: Can't use string ("13") as an ARRAY ref while "strict refs" in use at /usr/sbin/amavisd-new line 5531.; from=<stepha...@landtag.brandenburg.de> to=<stepha...@telekom.de> proto=ESMTP helo=<ucszcp3.ltbbg1.lvnbb.de>
The value “13” comes from the following piece of config:
$policy_bank{'WHITELIST'} = {
bypass_spam_checks_maps => [1],
spam_lovers_maps => [1],
};
@author_to_policy_bank_maps= ( {
'rechnun...@1und1.de' => 'WHITELIST',
'1und1.de' => 'WHITELIST',
'rechnun...@telekom.de' => 'WHITELIST',
'servicec...@telekom.de' => 'WHITELIST',
'buchungbe...@bahn.de' => 'WHITELIST',
'bahn.de' => 'WHITELIST',
'deutschebahn.com' => 'WHITELIST',
'commerzbank.com' => 'WHITELIST',
'paypal.com' => 'WHITELIST',
'ebay.de' => 'WHITELIST',
'dhl.de' => 'WHITELIST',
'dhl.com' => 'WHITELIST',
'ups.com' => 'WHITELIST',
'kundenservice.vodafone.com' => 'WHITELIST',
} );
@score_sender_maps = ({ # a by-recipient hash lookup table
# mails from senders that should have been DKIM signed
'.1und1.de' => 13.0,
'.telekom.de' => 13.0,
'.bahn.de' => 13.0,
'.deutschebahn.de' => 13.0,
'.paypal.com' => 13.0,
'.ebay.de' => 13.0,
'.dhl.de' => 13.0,
'.dhl.com' => 13.0,
'.kundenservice.vodafone.com' => 13.0,
});
#------------ Do not modify anything below this line -------------
1; # ensure a defined return
My problem is that this mail is an outbound mail and should not go into that loop….
OS: Debian 7.11
Amavis: 1:2.7.1-2
Postfix: 2.9.6-2
Best Regards,
Stephan
--
Dr. Stephan Hendl
Landtag Brandenburg
Verwaltung
Referat V2
Alter Markt 1
14467 Potsdam
Tel.: (0331) 966 1292
Fax.: (0331) 966 99 1292
stepha...@landtag.brandenburg.de