Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

Q: This documentation doesn't seem to cover how to configure DNS-Blocklists. It says "Support for these is built-in" but I can't believe that all free BL's is called each time a mail is beeing checked. There must be a way to configure which to use.

...

If you don't want any DNSBLs used, put a line like

  • skip_rbl_checks 1

in your local.cf

To eliminate the use of a particular DNSBL, set the score to zero. Put lines like

  • score RCVD_IN_RFCI 0

...

  • score RCVD_IN_ORBS 0

...

  • score RCVD_IN_DSBL 0

in your local.cf if you don't want certain DNSBLs listed with RCVD_IN_* in 50_scores.cf to be used.

...

At present, the query trigger rule for SpamHaus looks like this:

  • header __RCVD_IN_ZEN eval:check_rbl('zen', 'zen.spamhaus.org.')

So to disable it you'd use:

  • score __RCVD_IN_ZEN 0

To disable all DNSWL rules, use:

  • score __RCVD_IN_DNSWL 0

NOTE: As from SpamAssassin version 3.4 you may disable queries for any BL by adding: (local.cf)

dns_query_restriction deny bldomain

for example:

dns_query_restriction deny sorbs.net

Q: The dns-blocklists just don't appear to be used. What is going wrong?

...