# Hestia querying spamhaus by default?

**URL:** <https://forum.hestiacp.com/t/hestia-querying-spamhaus-by-default/17299>\
**Category:** Uncategorized\
**Created:** [January 13, 2025, 4:16pm UTC](https://forum.hestiacp.com/t/hestia-querying-spamhaus-by-default/17299 "2025-01-13T16:16:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![garethw](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/g/e9c0ed/32.png) [@garethw](https://forum.hestiacp.com/u/garethw)\
**Post date:** [January 13, 2025, 4:16pm UTC](https://forum.hestiacp.com/t/hestia-querying-spamhaus-by-default/17299/1 "2025-01-13T16:16:10Z")

</div>

Hey team Hestia,

I’ve got a problem sending email from a specific (none hestia) domain to an email address that is on my hestia server.

The bounceback looks like a normal “your ip is on a blocklist” email but after checking I think this is something different.

The bounce back error message is;

`> [<user@domain.co.uk>](mailto:user@domain.co.uk): host mail.domain.co.uk[45.32.178.28] said: 550-Rejected because 185.52.242.15 is in a black list at zen.spamhaus.org 550 Error: open resolver; https://check.spamhaus.org/returnc/pub/104.238.171.171/ (in reply to RCPT TO command)`

That seems to indicate that my server rejected because the senders IP is block listed but if you follow the link then that indicates that the problem is with the receiving email server.

So, a couple of questions

1. does hestia use [spamhaus.org](http://spamhaus.org) by default
2. are we doing it wrong and does something need updating
3. can I turn it off without causing lots of other issues

Thanks in advance for any help anyone is able to provide.

---

<div class="post-metadata">

**Author:** ![linkp](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/linkp/32/2863_2.png) [@linkp](https://forum.hestiacp.com/u/linkp)\
**Post date:** [January 13, 2025, 4:40pm UTC](https://forum.hestiacp.com/t/hestia-querying-spamhaus-by-default/17299/2 "2025-01-13T16:40:57Z")

</div>

Spamhaus has not allowed queries from public DNS resolvers for some time now since it makes it impossible for them to track excessive usage.

You will need to either switch to a different DNS resolver on your HestiaCP server, obtain a Spamhaus datafeed, or disable the Spamhaus DNSbl on your HestiaCP server.

You can search this forum for detailed instructions. It has been discussed repeatedly for years now and there is not shortage of existing topics that already contain everything you will need to know in great detail.

---

<div class="post-metadata">

**Author:** ![garethw](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/g/e9c0ed/32.png) [@garethw](https://forum.hestiacp.com/u/garethw)\
**Post date:** [January 13, 2025, 4:53pm UTC](https://forum.hestiacp.com/t/hestia-querying-spamhaus-by-default/17299/3 "2025-01-13T16:53:54Z")

</div>

Sincere apoliges @linkp…

I thought I had searched the forum for spamhaus but clearly I didn’t because I just tried again and now see lots of results (as you say…)

For the record (and anyone else seeing this). In the short term I have commented out the second line of /etc/exim4/dnsbl.conf and restarted exim4, I can confirm the problem email has now sent.

I don’t actually know where to go and change my DNS servers (I thought it would be in /etc/resolv.conf but apparently not) so I will work that out and confirm when I have tested.

---

<div class="post-metadata">

**Author:** ![garethw](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/g/e9c0ed/32.png) [@garethw](https://forum.hestiacp.com/u/garethw)\
**Post date:** [January 13, 2025, 5:29pm UTC](https://forum.hestiacp.com/t/hestia-querying-spamhaus-by-default/17299/4 "2025-01-13T17:29:10Z")

</div>

Check out; [Spamhaus error: Rejected because [ip] is in black list at zen.spamhaus.org](https://forum.hestiacp.com/t/spamhaus-error-rejected-because-ip-is-in-black-list-at-zen-spamhaus-org/12336)

Follow instructions 1-6

---

<div class="post-metadata">

**Author:** ![system](https://forum.hestiacp.com/uploads/default/original/1X/d9a5b68bf50ced83e880b56452e592b204761b19.png) [@system](https://forum.hestiacp.com/u/system)\
**Post date:** [February 12, 2025, 5:29pm UTC](https://forum.hestiacp.com/t/hestia-querying-spamhaus-by-default/17299/5 "2025-02-12T17:29:51Z")

</div>

Closed on February 12, 2025, 5:29pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
