Exim4 rejects emails due to DNSBL check (Spamhaus & Spamcop) ā€“ false positives?

Hey everyone, I recently encountered an issue with Exim4 on HestiaCP where emails were getting rejected due to DNSBL checks in dnsbl.conf.

The error message was:

Rejected because 159.183.98.243 is in a black list at zen.spamhaus.org

However, after checking directly with Spamhaus, the IP is not listed. (https://check.spamhaus.org/results/?query=159.183.98.243)

Upon further investigation, I noticed that dnsbl.conf in Exim4 contains the following DNSBL entries:

bl.spamcop.net

zen.spamhaus.org

After temporarily removing these, email delivery started working as expected.

My questions:

ā€¢ Is there a recommended way to manage or update DNSBL settings within HestiaCP?

ā€¢ Could these particular lists sometimes cause false positives?

ā€¢ Would it be better to have a configurable way to adjust these settings instead of hardcoded values?

Iā€™d appreciate any advice or insights on best practices for handling this.

Thanks in advance!

Hi @sHAsHiLx

This topic has been discussed a lot of times :wink:

Take a look to several options to fix the issue:

2 Likes