Do not reject email for clamav Heuristics.OLE2.ContainsMacros event

Michael Orlitzky michael at orlitzky.com
Wed Feb 19 17:43:11 CET 2020


On 2/19/20 9:05 AM, Patrick Proniewski wrote:
> 
> I've tried the solution exposed in <https://lists.amavis.org/pipermail/amavis-users/2019-September/005906.html> but I'm not using any policy_bank on my MX servers and I failed to adapt the config snippet to make it work.
> 

You don't need a policy bank to make viruses non-fatal. Something like
this should do the trick,

@virus_name_to_spam_score_maps =
  (new_RE(
    [ qr'^Heuristics\.OLE2\.ContainsMacros' => 3.0 ],
));


More information about the amavis-users mailing list