http://bugzilla.spamassassin.org/show_bug.cgi?id=3993





------- Additional Comments From [EMAIL PROTECTED]  2005-07-29 09:45 -------
Subject: Re:  RegistrarBoundaries::split_domain() handles <city>.<state>.us
 incorrectly?

> This has become a problem for us -- if we want SPF_HELO_PASS to work for other
> receivers that are using SpamAssassin.

3.1 will use the entire hostname for SPF_HELO checks, so you should be 
OK there.  In the meantime, you shouldn't be getting any 
SPF_HELO_(SOFT)FAILs with 3.0 so you should be OK.  Getting an 
SPF_HELO_PASS hit isn't worth anything.


> In "<domain>.<municipality>.<prov>.ca":
> Mail::SpamAssassin::Util::RegistrarBoundaries::split_domain
> thinks that "<municipality>.<prov>.ca" is the domain, but it is not -- that's 
> a TLD.

The problem is "<not-a-municipality>.<prov>.ca" IS the domain and isn't 
a TLD.

/me thinks we should do something like this (not looking at how the 
current code works):

s/^.*\.(\w+\.(?:city|town|whatever)\.\w+\.\w{2}\.\w{2}\.?$)/$1/i





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

Reply via email to