Re: disable spamhaus request

Bill Cole <[email protected]>
Newsgroups gmane.mail.spam.spamassassin.general
Message-ID <[email protected]>
On 2025-04-16 at 05:00:37 UTC-0400 (Wed, 16 Apr 2025 11:00:37 +0200)
Axb <[email protected]>
is rumored to have said:

> On 16.04.2025 10:18, DEMBLANS Mathieu wrote:
>> Hello everyone,
>> I try to disable the dnsbl request done to spamhaus.org but the 
>> solutions I found doesn't work.
>> I put
>> score RCVD_IN_ZEN_BLOCKED_OPENDNS 0
>> score RCVD_IN_ZEN_BLOCKED 0
>> score __RCVD_IN_ZEN 0
>>
>> in local.cf but spamassassin still do dns request to spamhaus.
>>
>> Doing the same with spamcop (score RCVD_IN_BL_SPAMCOP_NET 0) works 
>> correctly.
>>
>> I forgot something or there is a bug ?
>> Thanks for your help
>>
>> Mat
>
> that rule is telling youu your queries are being blocked.. nothing 
> else. Disabling it won't change the status.
>
> look at "dns_query_restriction" in the documentation

Also note that there are more Spamhaus-related rules, so you would need 
to zero out all of their scores to disable them that way. Using 
dns_query_restriction is much cleaner.


-- 
  Bill Cole
  [email protected] or [email protected]
  (AKA @[email protected] and many *@billmail.scconsult.com 
addresses)
  Not Currently Available For Hire
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.