You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Bill Cole <sa...@billmail.scconsult.com> on 2015/09/18 07:41:47 UTC
Heads up: Net::DNS update may have quietly broken your SpamAssassin.
I noticed today that the hit rate on URIBL* rules had dropped to to zero
since my last round of updates, and after many hours of trying to
determine why which included reviewing BIND configs and packet captures
and dissection, I nailed it down to SA making DNS queries without the
"recursion desired" flag. Since my local nameservers isn't authoritative
for much, this meant a whole lot of "no answer, no error" DNS replies.
It turns out that this is due to an internal change introduced in recent
versions of Net::DNS, which SA relied upon to set the RD flag
automatically. See
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7223 for details and
a patch.
Re: Heads up: Net::DNS update may have quietly broken your SpamAssassin.
Posted by Jonathan Nichols <jn...@pbp.net>.
>
> Your problem is URIBL_BLOCKED. The usual cause of this is running a mail system that relies on a public-access DNS resolver, although if you have substantial volume on your system you can have this happen with your own DNS infrastructure. See http://uribl.com/refused.shtml for details.
>
> Note that if you have a mail system pointed at a free public resolver like those operated by Google or OpenDNS, you are getting a view of DNS that is manipulated by the operator to suit their business interests and a usage model consisting primarily of web browsing with a seasoning of other personal client uses. Such resolvers are not intended for use by mail servers and often respond by design in ways that make them grossly unfit for use by mail servers.
>
Ah…. the lightbulb illuminates! Thanks. I now see this to be the problem, and I was using Google DNS. I can fix this.
Re: Heads up: Net::DNS update may have quietly broken your
SpamAssassin.
Posted by Bill Cole <sa...@billmail.scconsult.com>.
On 20 Sep 2015, at 12:57, Jonathan Nichols wrote:
>> On Sep 18, 2015, at 12:41 AM, Bill Cole
>> <sa...@billmail.scconsult.com> wrote:
>>
>> nd after many hours of trying to determine why which included
>> reviewing BIND configs and packet captures and dissection, I nailed
>> it down to SA making DNS queries without the "recursion desired"
>> flag. Since my local nameservers isn't authoritative for much, this
>> meant a whole lot of "no answer, no error" DNS replies.
>
> I have 3.4.0 and have noticed this as well. But my NetDNS is 0.78
Not the same root cause then. But read on...
> module installed: Net::DNS, version 0.78
>
> everything installed from apt on ubuntu utopic 14.10
>
> URIBL scores have dropped to almost nothing.
Almost nothing != zero, which is what this bug causes. You don't have a
bug, you have a major architectural flaw.
>
> X-Spam-Status: Yes, score=6.084 tagged_above=-999 required=5.31
> tests=[BAYES_50=0.8, BOTNET=2.4, BOTNET_NORDNS=0.3, PYZOR_CHECK=1.392,
> RDNS_NONE=0.793, SAGREY=0.4, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001,
> URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Your problem is URIBL_BLOCKED. The usual cause of this is running a mail
system that relies on a public-access DNS resolver, although if you have
substantial volume on your system you can have this happen with your own
DNS infrastructure. See http://uribl.com/refused.shtml for details.
Note that if you have a mail system pointed at a free public resolver
like those operated by Google or OpenDNS, you are getting a view of DNS
that is manipulated by the operator to suit their business interests and
a usage model consisting primarily of web browsing with a seasoning of
other personal client uses. Such resolvers are not intended for use by
mail servers and often respond by design in ways that make them grossly
unfit for use by mail servers.
Re: Heads up: Net::DNS update may have quietly broken your
SpamAssassin.
Posted by Reindl Harald <h....@thelounge.net>.
Am 20.09.2015 um 18:57 schrieb Jonathan Nichols:
>
>> On Sep 18, 2015, at 12:41 AM, Bill Cole <sa...@billmail.scconsult.com> wrote:
>>
>> nd after many hours of trying to determine why which included reviewing BIND configs and packet captures and dissection, I nailed it down to SA making DNS queries without the "recursion desired" flag. Since my local nameservers isn't authoritative for much, this meant a whole lot of "no answer, no error" DNS replies.
>
> I have 3.4.0 and have noticed this as well. But my NetDNS is 0.78
>
> module installed: Net::DNS, version 0.78
>
> everything installed from apt on ubuntu utopic 14.10
>
> URIBL scores have dropped to almost nothing.
>
> X-Spam-Status: Yes, score=6.084 tagged_above=-999 required=5.31 tests=[BAYES_50=0.8, BOTNET=2.4, BOTNET_NORDNS=0.3, PYZOR_CHECK=1.392, RDNS_NONE=0.793, SAGREY=0.4, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
the Fedora packages are not involved, URIBL works fine here
perl-Net-DNS-0.83-1.fc21.x86_64
perl-Net-DNS-0.83-1.fc22.x86_64
Re: Heads up: Net::DNS update may have quietly broken your
SpamAssassin.
Posted by Bill Cole <sa...@billmail.scconsult.com>.
On 20 Sep 2015, at 13:11, Benny Pedersen wrote:
> Jonathan Nichols skrev den 2015-09-20 18:57:
>
>> URIBL scores have dropped to almost nothing.
>>
>> X-Spam-Status: Yes, score=6.084 tagged_above=-999 required=5.31
>> tests=[BAYES_50=0.8, BOTNET=2.4, BOTNET_NORDNS=0.3,
>> PYZOR_CHECK=1.392,
>> RDNS_NONE=0.793, SAGREY=0.4, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001,
>> URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
>
> you ARE blocked
>
> good or bad does matter ?
>
> that means you wast dns resources on uribl.com just to see you are
> blocked, and not getting anything in return on it, that sayed i think
> your net::dns is also have the same problem
Nope. The Net::DNS problem is a >1.0 issue only and causes SA to ask DNS
questions in a way that resolvers to respond with empty non-failure
replies to questions about names that they would need to recurse in
order to resolve. URIBL_BLOCKED is triggered by a specific (non-null)
answer to questions about names under the uribl.com zone.
Re: Heads up: Net::DNS update may have quietly broken your
SpamAssassin.
Posted by Benny Pedersen <me...@junc.eu>.
Jonathan Nichols skrev den 2015-09-20 18:57:
> URIBL scores have dropped to almost nothing.
>
> X-Spam-Status: Yes, score=6.084 tagged_above=-999 required=5.31
> tests=[BAYES_50=0.8, BOTNET=2.4, BOTNET_NORDNS=0.3, PYZOR_CHECK=1.392,
> RDNS_NONE=0.793, SAGREY=0.4, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001,
> URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
you ARE blocked
good or bad does matter ?
that means you wast dns resources on uribl.com just to see you are
blocked, and not getting anything in return on it, that sayed i think
your net::dns is also have the same problem
Re: Heads up: Net::DNS update may have quietly broken your SpamAssassin.
Posted by Jonathan Nichols <jn...@pbp.net>.
> On Sep 18, 2015, at 12:41 AM, Bill Cole <sa...@billmail.scconsult.com> wrote:
>
> nd after many hours of trying to determine why which included reviewing BIND configs and packet captures and dissection, I nailed it down to SA making DNS queries without the "recursion desired" flag. Since my local nameservers isn't authoritative for much, this meant a whole lot of "no answer, no error" DNS replies.
I have 3.4.0 and have noticed this as well. But my NetDNS is 0.78
module installed: Net::DNS, version 0.78
everything installed from apt on ubuntu utopic 14.10
URIBL scores have dropped to almost nothing.
X-Spam-Status: Yes, score=6.084 tagged_above=-999 required=5.31 tests=[BAYES_50=0.8, BOTNET=2.4, BOTNET_NORDNS=0.3, PYZOR_CHECK=1.392, RDNS_NONE=0.793, SAGREY=0.4, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no