Thank you Michael, it's working great.
> On 20 Feb 2020, at 12:00, [email protected] wrote: > > From: Michael Orlitzky <[email protected]> > Subject: Re: Do not reject email for clamav Heuristics.OLE2.ContainsMacros > event > Date: 19 February 2020 at 17:43:11 GMT+1 > To: <[email protected]> > > > 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
