Mailing List Archive

svn commit: rev 9805 - in incubator/spamassassin/trunk: lib/Mail/SpamAssassin rules t
Author: jm
Date: Sun Mar 28 21:18:25 2004
New Revision: 9805

Modified:
incubator/spamassassin/trunk/lib/Mail/SpamAssassin/Conf.pm
incubator/spamassassin/trunk/rules/70_testing.cf
incubator/spamassassin/trunk/t/rcvd_parser.t
Log:
a little bit of cleanup on trusted_networks doco

Modified: incubator/spamassassin/trunk/lib/Mail/SpamAssassin/Conf.pm
==============================================================================
--- incubator/spamassassin/trunk/lib/Mail/SpamAssassin/Conf.pm (original)
+++ incubator/spamassassin/trunk/lib/Mail/SpamAssassin/Conf.pm Sun Mar 28 21:18:25 2004
@@ -1671,8 +1671,11 @@

What networks or hosts are 'trusted' in your setup. B<Trusted> in this case
means that relay hosts on these networks are considered to not be potentially
-operated by spammers, open relays, or open proxies. DNS blacklist checks
-will never query for hosts on these networks.
+operated by spammers, open relays, or open proxies. A trusted host could
+conceivably relay spam, but will not originate it, and will not forge header
+data. DNS blacklist checks will never query for hosts on these networks.
+
+Internal networks can be specified using the C<internal_networks> setting.

If a C</mask> is specified, it's considered a CIDR-style 'netmask', specified
in bits. If it is not specified, but less than 4 octets are specified with a

Modified: incubator/spamassassin/trunk/rules/70_testing.cf
==============================================================================
--- incubator/spamassassin/trunk/rules/70_testing.cf (original)
+++ incubator/spamassassin/trunk/rules/70_testing.cf Sun Mar 28 21:18:25 2004
@@ -489,6 +489,9 @@
header T_SB_23_7_6_25_180 eval:check_rbl_sub('senderbase', 'S23 > 7.6 && (time - S25 < 180*86400)')

# test
+# jm: IMO, we should come up with a new way to test *just* the URIs in RHSBL
+# style, it would be *much* more efficient than doing NS and A lookups, and
+# would be harder for spammers to evade.
ifplugin Mail::SpamAssassin::Plugin::URIDNSBL

uridnsbl_timeout 2
@@ -499,3 +502,4 @@
tflags T_URIBL_SC_SURBL net

endif # Mail::SpamAssassin::Plugin::URIDNSBL
+

Modified: incubator/spamassassin/trunk/t/rcvd_parser.t
==============================================================================
--- incubator/spamassassin/trunk/t/rcvd_parser.t (original)
+++ incubator/spamassassin/trunk/t/rcvd_parser.t Sun Mar 28 21:18:25 2004
@@ -18,7 +18,7 @@

use lib '.'; use lib 't';
use SATest; sa_t_init("rcvd_parser");
-use Test; BEGIN { plan tests => 28 };
+use Test; BEGIN { plan tests => 29 };


use strict;
@@ -53,6 +53,19 @@
} => q{

[ ip=192.168.50.50 rdns= helo=klqe.net by=mail.dropinsolutions.com ident= envfrom= ]
+
+},
+q{
+
+Received: from Minstrel ([82.0.67.38]) by mta07-svc.ntlworld.com
+ (InterMail vM.4.01.03.37 201-229-121-137-20020806) with ESMTP
+ id <20031220035023.GCFK2588.mta07-svc.ntlworld.com@Minstrel>
+ for <postmaster@internetgremlin.com>;
+ Sat, 20 Dec 2003 03:50:23 +0000
+
+} => q{
+
+ [ ip=82.0.67.38 rdns= helo=Minstrel by=mta07-svc.ntlworld.com ident= envfrom= ]

},
q{