]> git.donarmstrong.com Git - spamassassin_config.git/blobdiff - common/common_spam
not only try to load the plugin but include the rules only if the
[spamassassin_config.git] / common / common_spam
index 222b587df0b88b5c9c43680ca333f1f25f23bab9..a514093ab063fc459858feecc266767893f51468 100644 (file)
@@ -25,8 +25,9 @@ include auto_response_spam
 
 # this is a set of image-specific spam rules
 tryplugin Mail::SpamAssassin::Plugin::ImageInfo
-include image_spam
-
+if (plugin (Mail::SpamAssassin::Plugin::ImageInfo)
+  include image_spam
+endif
 
 meta DIGEST_MULTIPLE            RAZOR2_CHECK + PYZOR_CHECK > 1
 describe DIGEST_MULTIPLE        Message hits more than one network digest check
@@ -38,3 +39,20 @@ score DIGEST_MULTIPLE 0
 header NODAY   date =~ /^\s+\,/
 describe NODAY bad date format
 score NODAY    2
+
+#formorer 2012-07-20
+header CLUB_PROGRAMADORES              From =~ /Club-de-Programadores/i
+describe CLUB_PROGRAMADORES    ACP - Club-de-Programadores spam
+score CLUB_PROGRAMADORES       5
+
+#formorer 2012-10-02
+header CLUB_PROGRAMADORES              From =~ /Club\s+de\s+Programadores/i
+describe CLUB_PROGRAMADORES    ACP - Club-de-Programadores spam
+score CLUB_PROGRAMADORES       5
+
+
+#formorer 2014-02-06
+rawbody  LOCAL_VIEWINBROWSER /View this message in a browser/
+describe LOCAL_VIEWINBROWSER "View this message in a browser"
+score    LOCAL_VIEWINBROWSER 1.0
+