spamassassin-dev September 2011 archive
Main Archive Page > Month Archives  > spamassassin-dev archives
spamassassin-dev: [Bug 6662] uridnsbl_skip_domain isn't preventi

[Bug 6662] uridnsbl_skip_domain isn't preventing lookups via urirhssub

From: <bugzilla-daemon_at_nospam>
Date: Tue Sep 20 2011 - 14:54:01 GMT
To: dev@spamassassin.apache.org

https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6662

--- Comment #3 from Mark Martinec <Mark.Martinec@ijs.si> 2011-09-20 14:54:01 UTC ---
> Rules currently include:
> 25_uribl.cf:uridnsbl_skip_domain juno.com kernel.org livejournal.com ...
> Yet the attachment still hits [...]
> DNSBL:multi.surbl.org.:news.livejournal.com (timeout 15.0s, min 3.0s)

The URI has news.livejournal.com, not livejournal.com.
The uridnsbl_skip_domain does include livejournal.com
but not the news.livejournal.com.

The source of this trouble is 20_aux_tlds.cf which contains:

  util_rb_2tld livejournal.com

declaring the livejournal.com to be a registrar boundary, so
the 'news' in news.livejournal.com is not considered a hostname
by Mail::SpamAssassin::Util::RegistrarBoundaries::split_domain(),
it returns an empty host name and news.livejournal.com as a
domain name.

Don't know why livejournal.com is in util_rb_2tld and where the logic
behind it went wrong.

-- Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.