]> git.donarmstrong.com Git - spamassassin_config.git/blobdiff - bugs/user_prefs
temporarily disable the clamav plugin
[spamassassin_config.git] / bugs / user_prefs
index 17bba9aed7617cf688a405d448f91185403c39ec..017f0e0dac561b44a0d985a846d6f04402e660d3 100644 (file)
@@ -1,3 +1,4 @@
+# -*- mode: spamassassin -*-
 # This is the right place to customize your installation of SpamAssassin.
 # See 'perldoc Mail::SpamAssassin::Conf' for details of what can be tweaked.
 #
@@ -48,6 +49,17 @@ bayes_ignore_header X-Spam-Checker-Version
 bayes_ignore_header X-Spam-Flag
 bayes_ignore_header X-Spam-Level
 bayes_ignore_header X-Spam-Status
+# blarson 2009-04-09
+# if we can't use Ironport as spam sign, at least don't treat it as non-spam
+bayes_ignore_header X-IronPort-Anti-Spam-Filtered
+bayes_ignore_header X-IronPort-Anti-Spam-Result
+bayes_ignore_header X-IronPort-AV
+# blarson 2009-05-22 google spam
+bayes_ignore_header DKIM-Signature
+bayes_ignore_header DomainKey-Signature
+# blarson 2010-02-23
+bayes_ignore_header X-Greylist
+
 
 include bayes_configuration
 
@@ -103,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