# Configure Spamhaus DBL and ZRD

**URL:** <https://forum.hestiacp.com/t/configure-spamhaus-dbl-and-zrd/20820>\
**Category:** Mail\
**Created:** [January 5, 2026, 1:08am UTC](https://forum.hestiacp.com/t/configure-spamhaus-dbl-and-zrd/20820 "2026-01-05T01:08:12Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Felix](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/felix/32/32_2.png) [@Felix](https://forum.hestiacp.com/u/Felix)\
**Post date:** [January 5, 2026, 12:16pm UTC](https://forum.hestiacp.com/t/configure-spamhaus-dbl-and-zrd/20820/5 "2026-01-05T12:16:10Z")

</div>

Your guidance was of paramount help. Thank you again!! I tracked the issue down and here is my resolution…

Looking at the headers of the email message that should have been blocked based on `zrd-dqs-ehlo` I noticed those two lines that were messing with the spam score by adding a -5 to the total score:

```auto
 -2.0 RCVD_IN_VALIDITY_SAFE RBL: Sender in Validity Safe - Contact
                             certification@validity.com
 [Excessive Number of Queries | <https://knowledge.validity.com/hc/en-us/articles/20961730681243>]
 -3.0 RCVD_IN_VALIDITY_CERTIFIED RBL: Sender in Validity Certification -
                             Contact certification@validity.com
 [Excessive Number of Queries | <https://knowledge.validity.com/hc/en-us/articles/20961730681243>]

```

I am not interested in Validity’s RBL so I decided to disable these checks by following the [instructions here](https://support.cpanel.net/hc/en-us/articles/31647640928919-SpamAssassin-blocking-legitimate-email-with-RCVD-IN-VALIDITY-RPBL-BLOCKED-RBL).

Copying below for reference:

1. Create the file `custom.cf` by running `touch /etc/mail/spamassassin/custom.cf` (or open it if it exists)
2. Add the following content to the new file:

```auto
dns_query_restriction deny sa-trusted.bondedsender.org
dns_query_restriction deny sa-accredit.habeas.com
dns_query_restriction deny bl.score.senderscore.com

```

1. Check for any errors with `spamassassin --lint` and restart service with `systemctl restart spamd`

After solving my issue, I started searching for “is validity’s RBL of any use?” and guess [what I found](https://forum.hestiacp.com/t/disabling-invalid-validity-dnsbl-scores-in-spamassassin-after-query-limit-exceeded/19008)?

By the way, a lot of people on the internet seem to suggest to disable checks to Validity RBL 🙂

---

_[View the full topic](https://forum.hestiacp.com/t/configure-spamhaus-dbl-and-zrd/20820)._
