I‘ve configured RBL for my postfix based mail server and I’m getting an error that read as follows:
May 3 04:35:37 mx02 postfix/smtpd: NOQUEUE: reject: RCPT from ant251.neoplus.adsl.tpnet.pl[18.104.22.168]: 554 5.7.1 Service unavailable; Client host [22.214.171.124] blocked using xen.spamhaus.org; SPAMHAUS BLOCKLIST ADDRESS IS WRONG MUST FIX; from= to= proto=ESMTP helo=
How do I fix this problem?
According to RFC2821 the lowest-numbered records are the most preferred MX for domain. So I’ve a target Postfix backup server to keep the messages in a queue waiting for the primary server to become available. This ensures that if my primary MX goes down I do not loss any emails. However, spammers are connecting to my backup MX to avoid anti spam filters that are running on the primary MX server. This also hides their real IP from my primary MX. How do I configure anti-spam for my backup RHEL / CentOS 5.3 based Postfix mx server?