You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Jeff Chan <je...@surbl.org> on 2005/03/05 06:06:29 UTC
Re: [SURBL-Discuss] Re: [SPAM-TAG] SURBL missing this spam
On Friday, March 4, 2005, 7:37:45 PM, David Funk wrote:
> On Fri, 4 Mar 2005, Jeff Chan wrote:
>> On Friday, March 4, 2005, 5:12:28 PM, Theo Dinter wrote:
>> > On Fri, Mar 04, 2005 at 05:10:42PM -0800, Jeff Chan wrote:
>> >> The URI is a little unusual, with a missing port number after the
>> >> colon:
>> >>
>> >> http://crazyrxl0wprices-MUNGED.com:/
>> >>
>> >> Maybe that syntax is throwing off SA?
>>
>> > Yeah, it does look like a bug somewhere in 3.0.x. 3.1 catches it fine,
>> > fwiw.
>>
>> > 3.0:
>> > debug: URIDNSBL: domains to query:
>>
>> > 3.1:
>> > debug: uridnsbl: domains to query: crazyrxl0wprices.com
> For those still running SA 2.6* + SpamCopURI-0.22
> The following ONE character patch fixes this bug:
> *** SpamCopURI.pm-orig Thu Aug 5 14:58:59 2004
> --- SpamCopURI.pm Fri Mar 4 21:22:37 2005
> ***************
> *** 276,282 ****
> # URI doesn't always put the port in the right place
> # so we strip it off here
> ! $url{host} =~ s/:[0-9]+$// if $url{host};
> # Cleanup for urls that come in with a dot in the front
> --- 276,282 ----
> # URI doesn't always put the port in the right place
> # so we strip it off here
> ! $url{host} =~ s/:[0-9]*$// if $url{host};
> # Cleanup for urls that come in with a dot in the front
> (IE just change that '+' to a '*' ;)
Yep; zero or more instead of one or more for the port portion.... :-)
I'm pretty sure Eric Kolve is still on this list. Perhaps he
can consider putting your patch into SpamCopURI.
Jeff C.
--
Jeff Chan
mailto:jeffc@surbl.org
http://www.surbl.org/