]> git.donarmstrong.com Git - spamassassin_config.git/blobdiff - bugs/user_prefs
add a clamav scanner to the BTS SA configuration
[spamassassin_config.git] / bugs / user_prefs
index 09167bab4e1e308da984a9e90cac2f1ec90c4dfc..f3920efeef498f83c574f957c5fec68fa24a140f 100644 (file)
@@ -115,6 +115,13 @@ loadplugin Mail::SpamAssassin::Plugin::Rule2XSBody
 loadplugin Mail::SpamAssassin::Plugin::ImageInfo
 
 
+# add our local clamav plugin
+loadplugin clamav clamav.pm
+if plugin(clamav)
+   full CLAMAV eval:check_clamav()
+   describe CLAMAV contains a virus according to clamav
+   score CLAMAV 8
+endif
 
 # blarson 2004-03-20
 # Disable most DNSBLs -- overhead to high