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

Patrick Proniewski patrick.proniewski at univ-lyon2.fr
Fri Feb 21 09:51:53 CET 2020


Thank you Michael, it's working great.


> On 20 Feb 2020, at 12:00, amavis-users-request at amavis.org wrote:
> 
> From: Michael Orlitzky <michael at orlitzky.com>
> Subject: Re: Do not reject email for clamav Heuristics.OLE2.ContainsMacros event
> Date: 19 February 2020 at 17:43:11 GMT+1
> To: <amavis-users at amavis.org>
> 
> 
> 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 ],
> ));
> 

Patrick


More information about the amavis-users mailing list