spamassassin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j.@apache.org
Subject svn commit: rev 9659 - in incubator/spamassassin/trunk: rules t
Date Sun, 21 Mar 2004 02:50:27 GMT
Author: jm
Date: Sat Mar 20 18:50:26 2004
New Revision: 9659

Modified:
   incubator/spamassassin/trunk/rules/70_testing.cf
   incubator/spamassassin/trunk/t/rcvd_parser.t
Log:
added new spamsign: T_SUBJ_2_NUM_PARENS

Modified: incubator/spamassassin/trunk/rules/70_testing.cf
==============================================================================
--- incubator/spamassassin/trunk/rules/70_testing.cf	(original)
+++ incubator/spamassassin/trunk/rules/70_testing.cf	Sat Mar 20 18:50:26 2004
@@ -531,3 +531,7 @@
 header T_RCVD_HELO_NE_RDNS2	eval:check_for_helo_rdns_mismatch('helo_reserved')
 header T_RCVD_HELO_NE_RDNS3	eval:check_for_helo_rdns_mismatch('rdns_reserved')
 header T_RCVD_HELO_NE_RDNS4	eval:check_for_helo_rdns_mismatch('helo_reserved', 'rdns_reserved')
+
+header T_SUBJ_2_NUM_PARENS      Subject =~ /^\(\d+\).*\(\d+\)\s*$/
+describe T_SUBJ_2_NUM_PARENS    Subject contains common spam sign (2 numbers)
+

Modified: incubator/spamassassin/trunk/t/rcvd_parser.t
==============================================================================
--- incubator/spamassassin/trunk/t/rcvd_parser.t	(original)
+++ incubator/spamassassin/trunk/t/rcvd_parser.t	Sat Mar 20 18:50:26 2004
@@ -59,6 +59,15 @@
 },
 q{
 
+Received: from hotmail.com (something.com [65.54.245.95]) at just after 10pm by Daffy.timing.com
on a Friday (CrazyMTA) (envelope-from <foo@example.com>) with TFTP
+
+} => q{
+
+  [ ip=65.54.245.95 rdns=something.com helo=hotmail.com by=Daffy.timing.com ident= envfrom=foo@example.com
]
+
+},
+q{
+
 Received: from postfix3-2.free.fr (foobar@213.228.0.139) 
   by totor.example.net with SMTP; 14 Nov 2003 08:05:50 -0000 
 Received: from asterix.laurier.org (lns-p19-8-82-65-66-244.adsl.proxad.net [82.65.66.244])


Mime
View raw message