Script that check if it your mail server in a DNSBL (DNS Blackhole List).

From heise Netze added with little features thats come from the comments.

How to use

Download it curl -s http://github.com/RogerSik/dnsbl-check/raw/master/dnsbl-check-standalone > /usr/local/bin/dnsbl-check-standalone chmod 755 /usr/local/bin/dnsbl-check-standalone

Writte in the file your postmaster.

Add it to your crontab to get daily notifications. @daily root ( /usr/local/bin/dnsbl-check-standalone -H YOUR_IP)