Spamhaus error: Rejected because [ip] is in black list at zen.spamhaus.org

C:
S: 220 hcp.omargaiani.com
C: EHLO unlisted.blt.spamhaus.net
S: 250-hcp.omargaiani.com Hello unlisted.blt.spamhaus.net [199.168.89.101]
S: 250-SIZE 52428800
S: 250-8BITMIME
S: 250-PIPELINING
S: 250-PIPE_CONNECT
S: 250-AUTH PLAIN LOGIN
S: 250-CHUNKING
S: 250-STARTTLS
S: 250 HELP
C: MAIL FROM:[email protected]
S: 250 OK
C: RCPT TO:[email protected]
S: 550-Rejected because 199.168.89.101 is in a black list at zen.spamhaus.org
S: 550 Error: excess volume; DNSBL Error Code - Excessive Queries - The Spamhaus Project
C: QUIT
S: 221 hcp.omargaiani.com closing connection
C:

i must do it :

Rejected because [ip] is in black list at zen.spamhaus.org. Error open resolver: https://www.spamhaus.org/returnc/pub/65.1.174.102

  1. Go to Spamhaus free data query account
  2. Fill in the form and verify your email address by via the link in the email you recive.
  3. Once logged, go to Products → DQS and you will see your Query Key and below you will see the exactly fqdn that you will need to use Zen Spamhaus black list. Something like: HereYourQueryKey.zen.dq.spamhaus.net
  4. Edit /etc/exim4/dnsbl.conf and replace zen.spamhaus.org with HereYourQueryKey.zen.dq.spamhaus.net
  5. Also edit /etc/exim4/exim4.conf.template on the line: deny message = Rejected because $sender_host_address is in a black list at $dnslist_domain\n$dnslist_text to deny message = Rejected because $sender_host_address is in a black list to prevent your Query key from leaking
  6. Restart exim4 with systemctl restart exim4

and i can do it with another mail because my mail don’r work now
cheers OMar

Then temporarily, remove zen.spamhaus.org from dnsbl.conf file in Exim and your mail will work again:

sed -i '/zen/d' /etc/exim4/dnsbl.conf
systemctl restart exim4

thank you for the answer but it work also with another mail
you only need the Query Key…from spamhaus

Omar

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