Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Spamhaus DNS-Resolver Blocks all incoming email #4366

Closed
jaiume opened this issue Apr 14, 2024 · 5 comments
Closed

[Bug] Spamhaus DNS-Resolver Blocks all incoming email #4366

jaiume opened this issue Apr 14, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@jaiume
Copy link

jaiume commented Apr 14, 2024

Describe the bug

Spamhaus has started blocking public DNS servers when they do a lookup against their servers.

This means that Hestia installations that are hosed on places like Digital Ocean start blocking all incoming email

Suggest that either Spamhaus is replaced, or there is some GUI configuration for configuring a custom Spamhaus resolver.

Tell us how to replicate the bug

Setup Hestia using a public DNS Server
Setup a domain with email
Try to receive email - it will always be rejected due to Spamhaus restrictions.

Which components are affected by this bug?

Mail (Exim, Dovecot), Mail Security (Antivirus, Antispam)

Hestia Control Panel Version

1.8.11

Operating system

Debian 10

Log capture

No response

@jaiume jaiume added the bug Something isn't working label Apr 14, 2024
@jaapmarcus
Copy link
Member

You are using an public ip resolver probally Cloudflare ...
https://hestiacp.com/docs/server-administration/email.html#rejected-because-ip-is-in-black-list-at-zen-spamhaus-org-error-open-resolver-https-www-spamhaus-org-returnc-pub-65-1-174-102

@tlcd96
Copy link
Contributor

tlcd96 commented May 2, 2024

You should have given an input of the logs, replacing the domain and the machine name. I had this problem, if you didn't receive the email from zen.spamhaus then disable all blacklists and try again

@tlcd96
Copy link
Contributor

tlcd96 commented May 2, 2024

on the file /etc/exim4/dnsbl.conf

bl.spamcop.net
zen.spamhaus.org

comment both lines and try again.
the file should look like this:

# bl.spamcop.net
# zen.spamhaus.org

and you should be able to send and receive emails especially from zen.spamhaus

@tlcd96
Copy link
Contributor

tlcd96 commented May 2, 2024

on the file /etc/exim4/dnsbl.conf

bl.spamcop.net
zen.spamhaus.org

comment both lines and try again. the file should look like this:

# bl.spamcop.net
# zen.spamhaus.org

and you should be able to send and receive emails especially from zen.spamhaus

One thing, this is not recommended, at least keep the zen.spamhaus.org blocklist. the other one blocks the zen blocklist

@jaapmarcus
Copy link
Member

Don't use Cloudflare as DNS server and the issue is fixed. Or follow the docs to change it your self...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants