Mailing List Archive

[Bug 3186] BIZ_TLD test not always firing
http://bugzilla.spamassassin.org/show_bug.cgi?id=3186





------- Additional Comments From matt@nightrealms.com 2004-03-16 20:13 -------
Changing the last part of the regexp to a zero-width negative look-ahead
assertion, ensuring that the next character afer ".biz" isn't one that could
appear in a host name, seems to work, like thus:

uri BIZ_TLD /^(?:https?:\/\/|mailto:)[^\/]+\.biz(?![-a-z0-9])/i

I'll upload a patch. (Do we need patches for something this simple?)



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 3186] BIZ_TLD test not always firing [ In reply to ]
http://bugzilla.spamassassin.org/show_bug.cgi?id=3186





------- Additional Comments From matt@nightrealms.com 2004-03-16 20:14 -------
Created an attachment (id=1853)
--> (http://bugzilla.spamassassin.org/attachment.cgi?id=1853&action=view)
BIZ_TLD rule fix




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 3186] BIZ_TLD test not always firing [ In reply to ]
http://bugzilla.spamassassin.org/show_bug.cgi?id=3186





------- Additional Comments From donwiss@bondcalc.com 2004-03-16 20:26 -------
Subject: Re: BIZ_TLD test not always firing

Bug reporter responding.

Looking through the spams that got through it would appear that testing for
these two strings would work, and not get any false positives:

".biz. " and ".biz.<cr>"

I know very little procmail, so I can't tell tell if your test is safe.


At 08:13 PM 3/16/2004 -0800, you wrote:
>http://bugzilla.spamassassin.org/show_bug.cgi?id=3186
>
>
>
>
>
>------- Additional Comments From matt@nightrealms.com 2004-03-16 20:13
-------
>Changing the last part of the regexp to a zero-width negative look-ahead
>assertion, ensuring that the next character afer ".biz" isn't one that could
>appear in a host name, seems to work, like thus:
>
> uri BIZ_TLD /^(?:https?:\/\/|mailto:)[^\/]+\.biz(?![-a-z0-9])/i
>
>I'll upload a patch. (Do we need patches for something this simple?)





------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 3186] BIZ_TLD test not always firing [ In reply to ]
http://bugzilla.spamassassin.org/show_bug.cgi?id=3186





------- Additional Comments From jm@jmason.org 2004-03-16 20:53 -------
actually I'd prefer a new rule. the current BIZ_TLD test deliberately
includes the /, since it avoids hitting on legit people who have a .biz
URL in their .sig -- therefore is much more accurate that way.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.