Exclude Domains from RBL Checks for Incoming Email
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
1 Comment
Update: This is now included by default in version 11.36.1.4 and above.
Fixed case 64745: Fix RBL ordering and add a file for domains to skip.
http://docs.cpanel.net/twiki/bin/view/AllDocumentation/ChangeLog/CPanelVersion1136