Hello,
now I found how to configure it. To whitelist mails from multiple addresses to
the same recipient we need the following:
@score_sender_maps = ({
'[email protected]' => [
new_RE(
[qr'^[email protected]$'i => -10.0],
[qr'^amavis-users-bounces\[email protected]$'i => -10.0],
),
],
});
In addition we need to escape the + with \ inside of new_RE.
Regards,
Christian
From: amavis-users
[mailto:amavis-users-bounces+christian.hoyer-reuther=cac-chem...@amavis.org] On
Behalf Of Hoyer-Reuther, Christian
Sent: Tuesday, March 14, 2017 10:57 AM
To: [email protected]
Subject: @score_sender_maps not working for some addresses
Hello,
I use @score_sender_maps for soft-whitelisting mails from some senders to some
recipients (Amavis 2.10.1). Here is an example:
@score_sender_maps = ({
'[email protected]' => [{'[email protected]' => -10.0}],
'[email protected]' =>
[{'[email protected]' => -10.0}],
});
The first one works (AM.WBL=-10 is set), but the second one does not work. Any
ideas?
Regards,
Christian