Update: This feature is automatically enabled as of cPanel 220.127.116.11
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:
wget -O /usr/local/cpanel/src/skip_rbl_domains.patch
patch < /usr/local/cpanel/src/skip_rbl_domains.patch
service exim restart
echo “patch < /usr/local/cpanel/src/skip_rbl_domains.patch” >> /scripts/posteximup
chmod 700 /scripts/posteximup