SPAMHAUS BLOCKLIST ADDRESS IS WRONG MUST FIX Error and Solution

I‘ve configured RBL for my postfix based mail server and I’m getting an error that read as follows:

ADVERTISEMENTS

May 3 04:35:37 mx02 postfix/smtpd[10956]: NOQUEUE: reject: RCPT from ant251.neoplus.adsl.tpnet.pl[83.26.101.251]: 554 5.7.1 Service unavailable; Client host [83.26.101.251] blocked using xen.spamhaus.org; SPAMHAUS BLOCKLIST ADDRESS IS WRONG MUST FIX; from= to= proto=ESMTP helo=

How do I fix this problem?

This error clearly indicate that you are using wrong rbl dns address name xen.spamhaus.org. The correct address is zen.spamhaus.org. Thus you must use something as follows in postfix:

smtpd_recipient_restrictions =
  permit_mynetworks,
  permit_sasl_authenticated,
  reject_non_fqdn_hostname,
  reject_non_fqdn_sender,
  reject_non_fqdn_recipient,
  reject_unauth_destination,
  reject_unauth_pipelining,
  reject_invalid_hostname,
  reject_rbl_client zen.spamhaus.org

Save and close the file and restart the postfix:
# service postfix restart
OR
# service postfix reload
You can always verify queries using host / dig tool from a shell prompt:
$ host -t a 208.43.79.236.zen.spamhaus.org
Output:

Host 208.43.79.236.zen.spamhaus.org not found: 3(NXDOMAIN)

$ host -t a 208.43.79.236.xen.spamhaus.org
Output (note xen.spamhaus.org is an incorrect Spamhaus server address, so you will get an error):

208.43.79.236.xen.spamhaus.org is an alias for blocklist.address.is.wrong.spamhaus.org.
blocklist.address.is.wrong.spamhaus.org has address 127.0.0.2
🐧 Get the latest tutorials on SysAdmin, Linux/Unix, Open Source/DevOps topics:
CategoryList of Unix and Linux commands
File Managementcat
FirewallCentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNCentOS 8 Debian 10 Firewall Ubuntu 20.04

ADVERTISEMENTS
1 comment… add one
  • ashwani May 8, 2009 @ 14:37

    nice work vivek bro….i hope any vsnl guys read this too becoz ther many ip ranges r blocked by spanhaus and we cant do anything else just to be blocked by this dictator called spamhaus

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre>, <code>...</code> and <kbd>...</kbd> for code samples.