Use the list on your mail server
How a lookup works
Reverse the four numbers of the connecting IPv4 address and add dnsbl.zerolegacy.ch. For 192.0.2.45 the name is 45.2.0.192.dnsbl.zerolegacy.ch. If the address is listed, DNS answers with an address starting 127.0.0.. If it isn’t, the answer is “no such name” (NXDOMAIN). IPv6 works the same way with the 32 reversed hex digits, and we list whole /64 networks.
| Answer | Meaning |
|---|---|
127.0.0.2 | Spam |
127.0.0.3 | Phishing |
127.0.0.4 | Malware / botnet |
Check that your resolver can reach us. This name is always listed, so it must answer 127.0.0.2:
dig +short 2.0.0.127.dnsbl.zerolegacy.ch
Postfix
Reject mail from listed addresses. Put the check after reject_unauth_destination so it only applies to mail for your own users:
smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination,
reject_rbl_client dnsbl.zerolegacy.ch
With postscreen you can weigh it against other lists instead of rejecting on this list alone:
postscreen_dnsbl_sites = dnsbl.zerolegacy.ch*2 postscreen_dnsbl_threshold = 2 postscreen_dnsbl_action = enforce
SpamAssassin
header RCVD_IN_ZEROLEGACY eval:check_rbl('zerolegacy', 'dnsbl.zerolegacy.ch.')
describe RCVD_IN_ZEROLEGACY Received from an address listed at dnsbl.zerolegacy.ch
tflags RCVD_IN_ZEROLEGACY net
score RCVD_IN_ZEROLEGACY 1.5
Good to know
- Listings are community reports, not verdicts. Treat the list as one signal, and consider scoring rather than rejecting outright, especially at first.
- A listing disappears by itself, typically about 11 days after the last report. Answers are cached for 5 minutes.
- Look up any address on the lookup page, or browse all listings.
- Questions or a wrongly listed address? Use the contact form.