How to disable Spamhaus and other RBL checks in SpamAssassin

EQ Admin

EQ Forum Admin
Staff member
Do you have a need to disable the Spamhaus or other RBL checks in your SpamAssassin configuration?

To disable all RBL's add this line to your local.cf :

skip_rbl_checks 1

To disable the Spamhaus RBL's add these lines to your local.cf :

RCVD_IN_ZEN 0
RCVD_IN_XBL 0
RCVD_IN_PBL 0


The names of the individual RBL checks may change over time so be sure to keep an eye on them after upgrades.

You can grep through SpamAssassin's .cf files and/or watch your mail logs to pick out the current names of the checks.
 
Top