Most of these are redundant to rules in my sandbox. Please remove the
redundant parts and I guess put the missing rules into my existing sem file.
http://svn.apache.org/repos/asf/spamassassin/trunk/rulesrc/sandbox/wtogami/20_bug_6220_sem.cf
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6527
Note that the URI rules aren't working in the masscheck because of this bug.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6297#c14
Which was introduced by an incomplete fix here.
Warren
On 2/9/2011 11:51 AM, [email protected] wrote:
Author: smf
Date: Wed Feb 9 21:51:24 2011
New Revision: 1069129
URL: http://svn.apache.org/viewvc?rev=1069129&view=rev
Log:
Updated sandbox to mass-check SEM DNS lists
Added:
spamassassin/trunk/rulesrc/sandbox/smf/30_sem.cf
Added: spamassassin/trunk/rulesrc/sandbox/smf/30_sem.cf
URL:
http://svn.apache.org/viewvc/spamassassin/trunk/rulesrc/sandbox/smf/30_sem.cf?rev=1069129&view=auto
==============================================================================
--- spamassassin/trunk/rulesrc/sandbox/smf/30_sem.cf (added)
+++ spamassassin/trunk/rulesrc/sandbox/smf/30_sem.cf Wed Feb 9 21:51:24 2011
@@ -0,0 +1,53 @@
+#testrules
+
+# DNSEval rules
+ifplugin Mail::SpamAssassin::Plugin::DNSEval
+
+header SMF_SEM_BLACK eval:check_rbl('semblack-lastexternal',
'bl.spameatingmonkey.net')
+tflags SMF_SEM_BLACK net
+describe SMF_SEM_BLACK Received from an IP listed by SEM-BLACK
+score SMF_SEM_BLACK 0.1
+reuse SMF_SEM_BLACK
+
+endif
+
+
+# URIDNSBL rules
+ifplugin Mail::SpamAssassin::Plugin::URIDNSBL
+
+urirhssub SMF_SEM_URI uribl.spameatingmonkey.net. A 2
+body SMF_SEM_URI eval:check_uridnsbl('SEM_URI')
+describe SMF_SEM_URI Contains a URI listed by SEM-URI
+tflags SMF_SEM_URI net
+score SMF_SEM_URI 0.1
+reuse SMF_SEM_URI
+
+urirhssub SMF_SEM_URIRED urired.spameatingmonkey.net. A 2
+body SMF_SEM_URIRED eval:check_uridnsbl('SEM_URIRED')
+describe SMF_SEM_URIRED Contains a URI listed by SEM-URIRED
+tflags SMF_SEM_URIRED net
+score SMF_SEM_URIRED 0.1
+reuse SMF_SEM_URIRED
+
+urirhssub SMF_SEM_FRESH fresh.spameatingmonkey.net. A 2
+body SMF_SEM_FRESH eval:check_uridnsbl('SEM_FRESH')
+describe SMF_SEM_FRESH Contains a domain registered less than 5 days ago
+tflags SMF_SEM_FRESH net
+score SMF_SEM_FRESH 0.1
+reuse SMF_SEM_FRESH
+
+urirhssub SMF_SEM_FRESH_10 fresh10.spameatingmonkey.net. A 2
+body SMF_SEM_FRESH_10 eval:check_uridnsbl('SEM_FRESH')
+describe SMF_SEM_FRESH_10 Contains a domain registered less than 5 days ago
+tflags SMF_SEM_FRESH_10 net
+score SMF_SEM_FRESH_10 0.1
+reuse SMF_SEM_FRESH_10
+
+urirhssub SMF_SEM_FRESH_15 fresh15.spameatingmonkey.net. A 2
+body SMF_SEM_FRESH_15 eval:check_uridnsbl('SEM_FRESH')
+describe SMF_SEM_FRESH_15 Contains a domain registered less than 5 days ago
+tflags SMF_SEM_FRESH_15 net
+score SMF_SEM_FRESH_15 0.1
+reuse SMF_SEM_FRESH_15
+
+endif