I have noticed that I wasn’t receiving emails anymore, so I tested my inbox with my google account and sure enough: nothing. A day later Google bounced back with a error message, stating that my server rejected the email based bc the IP was on a blacklist. Weird, I though, but ok let’s ask some pals to try it as well (using their own email boxes as well as their icloud mail boxes) and they all bounced as well. I don’t get it at all, because it somehow finds all their IP on zen.spamhaus’es blacklist?
Any idea what could have gone wrong here? This surely can’t be expected behaviour. The only thing that I have edited in the configs is 2 lines in the exim4 config to force report the outbound emails as coming from my hostname so it lines up with the PTR records (smtp_active_hostname).
Spamhaus doesn’t allow their lists to be queried via public DNS resolvers. They helpfully communicate this with those who violate their policy by returning every query as being in the blocklist. You will need to adjust how you access their lists to comply with their terms.
Suggestions on how to do that in a non-public dns resolvers way? I found on another thread that someone suggested just yeeting spamhaus from the dnsbl conf altogether, but that doesn’t resonate with me.