Apply policy_bank for valid DKIM senders

Marius Gologan marius.gologan at gmail.com
Wed Jul 22 19:43:01 CEST 2015


Hi,

 

Does anyone know a trick to apply a custom policy_bank for Senders signed
with valid DKIM only?

 

I want to ensure the whitelisted Senders are not spoofed and set policy
exceptions such as this below only for signed senders:

 

$policy_bank{'NO_BANNED_ATTACHMENTS'} = {  # those configured to send mail
to port 10027

   bypass_spam_checks_maps                   => [0],  # don't spam-check
this mail

   bypass_virus_checks_maps                     => [0],  # don't virus-check
this mail

   bypass_banned_checks_maps               => [1],  # don't banned-check
this mail

   bypass_header_checks_maps                => [1],  # don't header-check
this mail  

};

 

Thank you.

 

Marius.

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


More information about the amavis-users mailing list