Smtp reject zen.spamhaus.org

You don’t have a health system.

Show the output of these commands:

lsb_release -a
apt-mark showhold
apt update

Your distro is Ubuntu 22.04 jammy but you have repositories for Ubuntu focal and Debian bullseye. You have also duplicated repos for the same packages but using different distro/version. You must fix your repositories.

1 Like

I changed my repos with new ones for ubuntu 22.04 jammy. Ant then I installed php8.x-intl packages. I have solved the problem. But spamhaus still continue to reject gmail mails. Temporarly I will disable it, I will use just “bl.spamcop.net”. Do you know another free option?

Thank you very much for your help @sahsanu

apt install php8.2-intl php8.3-intl php8.4-intl


Edit: I have added gmail ip adresses to whitelist and this provides pass of spamhouse control for gmail adresses. (note: this list may be changed in the future). Also I re enabled spamhouse in /etc/exim4/dnsbl.conf file

/etc/exim4/white-blocks.conf

then run these commands

sudo update-exim4.conf
sudo systemctl restart exim4

list

# Google Mail Server IP Ranges (Derived from _spf.google.com includes)
# Updated: 2025-05-18 (Bu tarihi kontrol ettiğiniz tarihe göre güncelleyebilirsiniz)
35.190.247.0/24
64.233.160.0/19
66.102.0.0/20
66.249.80.0/20
72.14.192.0/18
74.125.0.0/16
108.177.8.0/21
173.194.0.0/16
209.85.128.0/17
216.58.192.0/19
216.239.32.0/19
172.217.0.0/19
172.217.32.0/20
172.217.128.0/19
172.217.160.0/20
172.217.192.0/19
172.253.56.0/21
172.253.112.0/20
108.177.96.0/19
35.191.0.0/16
130.211.0.0/22
2001:4860:4000::/36
2404:6800:4000::/36
2607:f8b0:4000::/36
2800:3f0:4000::/36
2a00:1450:4000::/36
2c0f:fb50:4000::/36

I’m glad you fixed your repos :wink:

However, if Spamhaus believes that you’re still using an open resolver, emails from other providers may still be rejected.

Does this test now give a good or bad result?

curl -fsSLm10 https://7j.gg/chksph2 | bash -s --

If the result is bad: