Issue
- How to check my cPanel / WHM server IPs against RBL ?
- How to prevent my mail server IPs from being blacklisted ?
- My cPanel server IP is blacklisted.
- I need an email alert on blacklisting my IPs !
Solution
You can install the below script in /etc/cron.hourly or via crontab entry. Make sure you change the [email protected] from line number 32.
How to install the script
- Please run the below command to install the script to run every hour.
cd /etc/cron.hourly && wget https://raw.githubusercontent.com/redhatjobin/rbl-checker/master/awsadminz-rblchecker.sh -O awsadminz-rblchecker.sh && chmod +x awsadminz-rblchecker.sh
Source Code
github – https://github.com/redhatjobin/rbl-checker