You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jm...@apache.org on 2009/09/20 21:45:09 UTC
svn commit: r817087 - in /spamassassin/trunk/t.rules:
BOUNCE_MESSAGE/fp_bug5912_att4321 BOUNCE_MESSAGE/fp_bug5912_att4321.cf
BOUNCE_MESSAGE/fp_bug5912_att4322 BOUNCE_MESSAGE/fp_bug5912_att4322.cf run
Author: jm
Date: Sun Sep 20 19:45:09 2009
New Revision: 817087
URL: http://svn.apache.org/viewvc?rev=817087&view=rev
Log:
bug 5912: add tests for BOUNCE_MESSAGE header parsing bug
Added:
spamassassin/trunk/t.rules/BOUNCE_MESSAGE/fp_bug5912_att4321
spamassassin/trunk/t.rules/BOUNCE_MESSAGE/fp_bug5912_att4321.cf
spamassassin/trunk/t.rules/BOUNCE_MESSAGE/fp_bug5912_att4322
spamassassin/trunk/t.rules/BOUNCE_MESSAGE/fp_bug5912_att4322.cf
Modified:
spamassassin/trunk/t.rules/run
Added: spamassassin/trunk/t.rules/BOUNCE_MESSAGE/fp_bug5912_att4321
URL: http://svn.apache.org/viewvc/spamassassin/trunk/t.rules/BOUNCE_MESSAGE/fp_bug5912_att4321?rev=817087&view=auto
==============================================================================
--- spamassassin/trunk/t.rules/BOUNCE_MESSAGE/fp_bug5912_att4321 (added)
+++ spamassassin/trunk/t.rules/BOUNCE_MESSAGE/fp_bug5912_att4321 Sun Sep 20 19:45:09 2009
@@ -0,0 +1,155 @@
+Return-Path: <>
+Received: by mail.homes-magazine.com (CommuniGate Pro PIPE 5.0.14)
+ with PIPE id 3346853; Fri, 16 May 2008 10:49:38 -0700
+X-TFF-CGPSA-Version: 1.5
+X-TFF-CGPSA-Filter: Scanned
+X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on
+ apollo.homes-magazine.com
+X-Spam-Level:
+X-Spam-Status: No, score=0.4 required=5.0 tests=ANY_BOUNCE_MESSAGE,AWL,
+ BAYES_00,BOUNCE_MESSAGE,HTML_MESSAGE,RAZOR2_CF_RANGE_51_100,
+ RAZOR2_CF_RANGE_E4_51_100,RAZOR2_CHECK,TVD_FW_GRAPHIC_NAME_MID autolearn=no
+ version=3.2.4
+Received: from mailgw02.wolfnettech.com ([216.17.53.37] verified)
+ by mail.homes-magazine.com (CommuniGate Pro SMTP 5.0.14)
+ with ESMTP id 3346851 for webcare@homesmagazine.com; Fri, 16 May 2008 10:49:21 -0700
+Received: by mailgw02.wolfnettech.com (Postfix)
+ id B89E29E5968; Fri, 16 May 2008 12:48:50 -0500 (CDT)
+Date: Fri, 16 May 2008 12:48:50 -0500 (CDT)
+From: MAILER-DAEMON@mailgw02.wolfnettech.com (Mail Delivery System)
+Subject: Undelivered Mail Returned to Sender
+To: webcare@homesmagazine.com
+Auto-Submitted: auto-replied
+MIME-Version: 1.0
+Content-Type: multipart/report; report-type=delivery-status;
+ boundary="3E2479E5965.1210960130/mailgw02.wolfnettech.com"
+Message-Id: <20...@mailgw02.wolfnettech.com>
+
+This is a MIME-encapsulated message.
+
+--3E2479E5965.1210960130/mailgw02.wolfnettech.com
+Content-Description: Notification
+Content-Type: text/plain; charset=us-ascii
+
+This is the mail system at host mailgw02.wolfnettech.com.
+
+I'm sorry to have to inform you that your message could not
+be delivered to one or more recipients. It's attached below.
+
+For further assistance, please send mail to <postmaster>
+
+If you do so, please include this problem report. You can
+delete your own text from the attached returned message.
+
+ The mail system
+
+<wl...@pacbell.net>: host pbimail5.prodigy.net[207.115.36.20] said: 553 5.3.0
+ <wl...@pacbell.net>... Addressee unknown, relay=[216.17.53.37] (in reply
+ to RCPT TO command)
+
+--3E2479E5965.1210960130/mailgw02.wolfnettech.com
+Content-Description: Delivery report
+Content-Type: message/delivery-status
+
+Reporting-MTA: dns; mailgw02.wolfnettech.com
+X-Postfix-Queue-ID: 3E2479E5965
+X-Postfix-Sender: rfc822; webcare@homesmagazine.com
+Arrival-Date: Fri, 16 May 2008 12:48:50 -0500 (CDT)
+
+Final-Recipient: rfc822; wlycnh1@pacbell.net
+Original-Recipient: rfc822;wlycnh1@pacbell.net
+Action: failed
+Status: 5.3.0
+Remote-MTA: dns; pbimail5.prodigy.net
+Diagnostic-Code: smtp; 553 5.3.0 <wl...@pacbell.net>... Addressee unknown,
+ relay=[216.17.53.37]
+
+--3E2479E5965.1210960130/mailgw02.wolfnettech.com
+Content-Description: Undelivered Message
+Content-Type: message/rfc822
+
+Received: from 10.100.0.101 (intmx02.mlsfinder.com [192.168.0.71]) by mailgw02.wolfnettech.com (Postfix) with SMTP id 3E2479E5965 for <wl...@pacbell.net>; Fri, 16 May 2008 12:48:50 -0500 (CDT)
+From: <we...@homesmagazine.com>
+To: <wl...@pacbell.net>
+Message-ID: <06...@192.168.0.141>
+Reply-To: <sv...@sbcglobal.net>
+Subject: Real Estate Listing
+Date: Fri, 16 May 2008 12:48:45 -0500
+MIME-Version: 1.0
+Content-Type: multipart/alternative;
+ boundary="----=_NextPart_06794765_377CEB575348A058"
+
+------=_NextPart_06794765_377CEB575348A058
+Content-Type: text/plain; charset="iso-8859-1"
+Content-Transfer-Encoding: 7bit
+Content-Disposition: inline
+
+Homes Magazine
+
+Message Sent By: sandra richards
+
+Email address: svrichards@sbcglobal.net
+RE: Listing No. 70021094
+
+
+
+Message:
+
+Bill,
+This is the LEAST EXPENSIVE Glenbrook TOWNHOME with LAKEVIEW. 2 years ago it
+would have been listed at $1.8. My recommendation is make an offer, once I
+see the profile reflecting how much Seller has owing on it. I will see what
+Seller paid for it in making decision on offer. Yes, I think this may be the
+better way to go; then you have your NV residence and can trade up.
+
+
+
+
+Click Here to View the Listing
+
+
+
+If your browser does not display a link above you can access the listing by
+copying and pasting the following URL into your web browser:
+
+
+
+
+
+http://www.cbvillagerealty.com/search.cfm?action=email_listing_detail&property
+_id=70021094
+
+Homes Magazine
+webcare@homesmagazine.com
+
+------=_NextPart_06794765_377CEB575348A058
+Content-Type: text/html; charset="iso-8859-1"
+Content-Transfer-Encoding: 7bit
+Content-Disposition: inline
+
+Homes Magazine
+<font face="Arial,Verdana,Geneva,Helvetica,sans-serif">
+Message Sent By: sandra richards<BR>
+Email address: <a href="mailto:svrichards@sbcglobal.net">svrichards@sbcglobal.net</a>
+RE: Listing No. 70021094<br>
+<br>
+Message:<br>
+Bill,<br>This is the LEAST EXPENSIVE Glenbrook TOWNHOME with LAKEVIEW. 2 years ago it would have been listed at $1.8. My recommendation is make an offer, once I see the profile reflecting how much Seller has owing on it. I will see what Seller paid for it in making decision on offer. Yes, I think this may be the better way to go; then you have your NV residence and can trade up.<br>
+ <br>
+
+<a href="http://www.cbvillagerealty.com/search.cfm?action=email_listing_detail&property_id=70021094">Click Here to View the Listing</a>
+
+ <br>
+If your browser does not display a link above you can access the listing by copying and pasting the following URL into your web browser:
+ <br>
+ <br>
+
+http://www.cbvillagerealty.com/search.cfm?action=email_listing_detail&property_id=70021094
+ </font>
+Homes Magazine
+webcare@homesmagazine.com
+
+------=_NextPart_06794765_377CEB575348A058--
+
+
+--3E2479E5965.1210960130/mailgw02.wolfnettech.com--
Added: spamassassin/trunk/t.rules/BOUNCE_MESSAGE/fp_bug5912_att4321.cf
URL: http://svn.apache.org/viewvc/spamassassin/trunk/t.rules/BOUNCE_MESSAGE/fp_bug5912_att4321.cf?rev=817087&view=auto
==============================================================================
--- spamassassin/trunk/t.rules/BOUNCE_MESSAGE/fp_bug5912_att4321.cf (added)
+++ spamassassin/trunk/t.rules/BOUNCE_MESSAGE/fp_bug5912_att4321.cf Sun Sep 20 19:45:09 2009
@@ -0,0 +1,11 @@
+
+whitelist_bounce_relays mail.homes-magazine.com
+whitelist_bounce_relays mailgw02.wolfnettech.com
+whitelist_bounce_relays levit.reacheach1.com
+whitelist_bounce_relays smtp*.blackberry.com
+whitelist_bounce_relays *.tcsn.net
+
+trusted_networks 66.224.197.128/27
+internal_networks 66.224.197.156
+internal_networks 66.224.197.130
+
Added: spamassassin/trunk/t.rules/BOUNCE_MESSAGE/fp_bug5912_att4322
URL: http://svn.apache.org/viewvc/spamassassin/trunk/t.rules/BOUNCE_MESSAGE/fp_bug5912_att4322?rev=817087&view=auto
==============================================================================
--- spamassassin/trunk/t.rules/BOUNCE_MESSAGE/fp_bug5912_att4322 (added)
+++ spamassassin/trunk/t.rules/BOUNCE_MESSAGE/fp_bug5912_att4322 Sun Sep 20 19:45:09 2009
@@ -0,0 +1,85 @@
+Received: from 10.100.0.101 (intmx02.mlsfinder.com [192.168.0.71])
+ by mailgw02.wolfnettech.com (Postfix) with SMTP id 3E2479E5965
+ for <wl...@pacbell.net>; Fri, 16 May 2008 12:48:50 -0500 (CDT)
+From: <we...@homesmagazine.com>
+To: <wl...@pacbell.net>
+Message-ID: <06...@192.168.0.141>
+Reply-To: <sv...@sbcglobal.net>
+Subject: Real Estate Listing
+Date: Fri, 16 May 2008 12:48:45 -0500
+MIME-Version: 1.0
+Content-Type: multipart/alternative;
+ boundary="----=_NextPart_06794765_377CEB575348A058"
+
+------=_NextPart_06794765_377CEB575348A058
+Content-Type: text/plain; charset="iso-8859-1"
+Content-Transfer-Encoding: 7bit
+Content-Disposition: inline
+
+Homes Magazine
+
+Message Sent By: sandra richards
+
+Email address: svrichards@sbcglobal.net
+RE: Listing No. 70021094
+
+
+
+Message:
+
+Bill,
+This is the LEAST EXPENSIVE Glenbrook TOWNHOME with LAKEVIEW. 2 years ago it
+would have been listed at $1.8. My recommendation is make an offer, once I
+see the profile reflecting how much Seller has owing on it. I will see what
+Seller paid for it in making decision on offer. Yes, I think this may be the
+better way to go; then you have your NV residence and can trade up.
+
+
+
+
+Click Here to View the Listing
+
+
+
+If your browser does not display a link above you can access the listing by
+copying and pasting the following URL into your web browser:
+
+
+
+
+
+http://www.cbvillagerealty.com/search.cfm?action=email_listing_detail&property
+_id=70021094
+
+Homes Magazine
+webcare@homesmagazine.com
+
+------=_NextPart_06794765_377CEB575348A058
+Content-Type: text/html; charset="iso-8859-1"
+Content-Transfer-Encoding: 7bit
+Content-Disposition: inline
+
+Homes Magazine
+<font face="Arial,Verdana,Geneva,Helvetica,sans-serif">
+Message Sent By: sandra richards<BR>
+Email address: <a href="mailto:svrichards@sbcglobal.net">svrichards@sbcglobal.net</a>
+RE: Listing No. 70021094<br>
+<br>
+Message:<br>
+Bill,<br>This is the LEAST EXPENSIVE Glenbrook TOWNHOME with LAKEVIEW. 2 years ago it would have been listed at $1.8. My recommendation is make an offer, once I see the profile reflecting how much Seller has owing on it. I will see what Seller paid for it in making decision on offer. Yes, I think this may be the better way to go; then you have your NV residence and can trade up.<br>
+ <br>
+
+<a href="http://www.cbvillagerealty.com/search.cfm?action=email_listing_detail&property_id=70021094">Click Here to View the Listing</a>
+
+ <br>
+If your browser does not display a link above you can access the listing by copying and pasting the following URL into your web browser:
+ <br>
+ <br>
+
+http://www.cbvillagerealty.com/search.cfm?action=email_listing_detail&property_id=70021094
+ </font>
+Homes Magazine
+webcare@homesmagazine.com
+
+------=_NextPart_06794765_377CEB575348A058--
+
Added: spamassassin/trunk/t.rules/BOUNCE_MESSAGE/fp_bug5912_att4322.cf
URL: http://svn.apache.org/viewvc/spamassassin/trunk/t.rules/BOUNCE_MESSAGE/fp_bug5912_att4322.cf?rev=817087&view=auto
==============================================================================
--- spamassassin/trunk/t.rules/BOUNCE_MESSAGE/fp_bug5912_att4322.cf (added)
+++ spamassassin/trunk/t.rules/BOUNCE_MESSAGE/fp_bug5912_att4322.cf Sun Sep 20 19:45:09 2009
@@ -0,0 +1,11 @@
+
+whitelist_bounce_relays mail.homes-magazine.com
+whitelist_bounce_relays mailgw02.wolfnettech.com
+whitelist_bounce_relays levit.reacheach1.com
+whitelist_bounce_relays smtp*.blackberry.com
+whitelist_bounce_relays *.tcsn.net
+
+trusted_networks 66.224.197.128/27
+internal_networks 66.224.197.156
+internal_networks 66.224.197.130
+
Modified: spamassassin/trunk/t.rules/run
URL: http://svn.apache.org/viewvc/spamassassin/trunk/t.rules/run?rev=817087&r1=817086&r2=817087&view=diff
==============================================================================
--- spamassassin/trunk/t.rules/run (original)
+++ spamassassin/trunk/t.rules/run Sun Sep 20 19:45:09 2009
@@ -85,6 +85,7 @@
sub test_msg {
my ($f) = @_;
return if ($f =~ /\.cf$/i);
+ $f =~ s,//+,/,gs; # multiple slashes are ok
($f =~ /\/([^\/]+)\/[^\/]+$/) or warn "cannot find rule in '$f'";
my $rule = $1;