First release of rblcheck.sh, a multi-IP, multi-DNSBL checker.
This is used to alert you when your server is listed on a blacklist; otherwise you can be unaware until users start to complain that their emails are bouncing.
The script checks every external IP active on the server to see if it is listed in the given RBLs.
We suggest you run it daily at least; by default the standard output will go to email via cron or you can make special arrangements. The simplest way to install the script is to drop it in /etc/cron.daily or /etc/cron.hourly – remember to chmod 755.
The list of RBLs defaults to Spamcop, Spamhaus and SORBS (enough for most people) but can easily be changed or extended via a config file. You can also alter the list of IPs to check via a config file.
Note that this script is actually cPanel independent, and should run on any Linux machine.Download rblcheck.sh [3097 downloads]