You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by qu...@apache.org on 2004/05/22 05:57:22 UTC

svn commit: rev 20204 - incubator/spamassassin/trunk/rules

Author: quinlan
Date: Fri May 21 20:57:21 2004
New Revision: 20204

Modified:
   incubator/spamassassin/trunk/rules/70_testing.cf
Log:
add rule for sexually-explicit tag
add new version of XBL test that should FP less


Modified: incubator/spamassassin/trunk/rules/70_testing.cf
==============================================================================
--- incubator/spamassassin/trunk/rules/70_testing.cf	(original)
+++ incubator/spamassassin/trunk/rules/70_testing.cf	Fri May 21 20:57:21 2004
@@ -245,3 +245,12 @@
 describe T_DNS_FROM_AHBL_RHSBL	Envelope sender listed in dnsbl.ahbl.org
 tflags T_DNS_FROM_AHBL_RHSBL	net
 
+# FTC tag for sexually explicit content
+header T_SUBJECT_SEXUAL_1	Subject =~ /sexual(?:ly)?.{0,2}explicit/i
+header T_SUBJECT_SEXUAL_2	Subject =~ /[s5][e3\xE8-\xEB]x[u\xB5\xF9-\xFC][a4\xE0-\xE6@][l!|1](?:[l!|1]y)?.{0,2}[e3\xE8-\xEB]xp[l!|1][i1!|l\xEC-\xEF]c[i1!|l\xEC-\xEF]t/i
+header T_SUBJECT_SEXUAL_3	Subject =~ /[s5].?[e3\xE8-\xEB].?x.?[u\xB5\xF9-\xFC].?[a4\xE0-\xE6@].?[l!|1].?(?:[l!|1].?y.?)?.{0,2}[e3\xE8-\xEB].?x.?p.?[l!|1].?[i1!|l\xEC-\xEF].?c.?[i1!|l\xEC-\xEF].?t/i
+
+# try final IP address only - suggestion from Spamhaus
+header T_RCVD_IN_XBL		eval:check_rbl('sblxbl-firsttrusted', 'sbl-xbl.spamhaus.org.', '127.0.0.[456]')
+describe T_RCVD_IN_XBL		Received from a relay in Spamhaus XBL
+tflags T_RCVD_IN_XBL		net