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

Michael Orlitzky <[email protected]>
Newsgroups gmane.mail.virus.amavis.user
Message-ID <[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 ],
));
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.