Turning on RBLs during the build process / post build

Mar 11, 2014
17
1
3
cPanel Access Level
DataCenter Provider
Is there a flag I can pass to turn on RBLs with default configuration during build time?

I have several cPanel servers ( 11.42 ) I would like to enable this on and do not want to really have to login to each and manually configure RBLs.

Ideally, I could push a config file / make an API call to existing servers to configure / enable RBLS and a flag in the build script to enable them at build time.

Thank you. Any advice would be great.

-Steven
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Hello :)

Yes, the file you are looking for is:

Code:
/etc/exim.conf.localopts
In particular, these entries:

Code:
acl_spamhaus_rbl=0
acl_spamcop_rbl=0
Change the values to "1" to enable the RBL, and rebuild the Exim configuration via:

Code:
/scripts/buildeximconf
Thank you.