@score_sender_maps not working for some addresses

Hoyer-Reuther, Christian Christian.Hoyer-Reuther at cac-chem.de
Thu Mar 30 09:51:58 CEST 2017


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 = ({
  'recip at domain-b.com' => [
    new_RE(
      [qr'^sender at domain-a.com$'i => -10.0],
      [qr'^amavis-users-bounces\+sender=domain-a.com at amavis.org$'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.de at amavis.org] On Behalf Of Hoyer-Reuther, Christian
Sent: Tuesday, March 14, 2017 10:57 AM
To: amavis-users at amavis.org
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 = ({
  'recip at domain-b.com' => [{'sender at domain-a.com' => -10.0}],
  'recip at domain-b.com' => [{'amavis-users-bounces+sender=domain-a.com at amavis.org' => -10.0}],
});

The first one works (AM.WBL=-10 is set), but the second one does not work. Any ideas?

Regards,

Christian

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.amavis.org/pipermail/amavis-users/attachments/20170330/89f9258a/attachment.html>


More information about the amavis-users mailing list