Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 349 Bytes

README.md

File metadata and controls

13 lines (10 loc) · 349 Bytes

amavisOTX

An Amavis plugin for checking known bad file hashes from Open Threat Exchange.

Add it to Amavis in the @av_scanners array:

['AmavisOTX',
  '/usr/local/bin/AmavisOTX',
  '{}',
  qr/^OK/m,
  qr/^Found (hash .*) from (?:https:\/\/.*) in (?:.*)$/m,
  qr/^Found (hash .*) from (?:https:\/\/.*) in (?:.*)$/m,
],