Update: This feature is automatically enabled as of cPanel 11.36.1.4
If you have RBL’s enabled globally on your server, there may be times when you want to keep certain domains from having their mail scanned against an RBL. While cPanel supports excluding sender IP addresses from these checks, some manual Exim modifications are needed to exclude recipient domains.
First, create a file that we’ll use to list the domains to exclude:
touch /etc/skiprbldomains
wget -O /usr/local/cpanel/src/skip_rbl_domains.patch
http://www.thecpaneladmin.com/files/skip_rbl_domains.patch.txt
patch < /usr/local/cpanel/src/skip_rbl_domains.patch
/usr/local/cpanel/scripts/buildeximconf
service exim restart
echo “patch < /usr/local/cpanel/src/skip_rbl_domains.patch” >> /scripts/posteximup
chmod 700 /scripts/posteximup
The post Exclude Domains from RBL Checks for Incoming Email appeared first on The cPanel Admin.