Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: just adding comments about what was failing for me

...

A: See the Mail::SpamAssassin::Conf documentation page, and the rules file 20_dnsbl_tests.cf , for details and examples of how to add a new DNSBL lookup rule.

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

A: First, make sure Net::DNS for perl is installed. Without this the blocklists will not be used.

A: Second, do some tests with Net::DNS to make sure it is resolving names (see the Net::DNS site for examples). A common mistake for client machines (such as Mandrake 9.2) is to have 127.0.0.1 in the </etc/resolv.conf> file – Net::DNS does not check multiple nameservers it appears, so you need to comment this line out for Net::DNS to work. (Anybody with a better solution, other than running a local nameserver?)