Actually, if you're running SpamAssassin 2.43 (which you should be) or CVS version, relay checking via spamhaus is already in the default ruleset (RCVD_IN_SBL).

I'd recommend removing the redundant rule that you added.

I'm guessing that no DNSBL's are running because you don't have full DNS support under Perl. This is a very common problem...

Make sure you have the Net::DNS perl module installed (you can get it on CPAN). If you don't SA will be forced to skip all DNS blacklists.

Here's the commands to install Net::DNS via CPAN:

perl -mCPAN -e shell
install Net::DNS


After that you can watch SA check blacklists by doing:

spamassassin -tD <sample-spam.txt

The most important line to see in the output is:

debug: is DNS available? 1

using the sample-spam.txt that comes with SA 2.43 you will likely also see these in the output:

debug: Ran run_rbl_eval_test rule RCVD_IN_OSIRUSOFT_COM ======> got hit
debug: Ran run_rbl_eval_test rule X_OSIRU_DUL ======> got hit
debug: Ran run_rbl_eval_test rule X_OSIRU_DUL_FH ======> got hit

At 04:06 PM 12/3/2002 -0500, Matty wrote:
Howdy,

Has anyone gotten DNSBL to work with Spam Assassin? I did
some googling, and came up with:

http://www.blackholes.us/docs/usage.html

I added a blackholes.cf to ~/.spamassassin, but am unsure how
to enable it (looking at the man page and default spamassassin
output doesn't show anything). I wasn't able to find much on DNSBL
on the main Spam Assassin website either :( I am specifically trying
to tie SA into:

http://www.spamhaus.org/SBL/howtouse.html

If anyone has any documents or info, could you pass them
on? I have been surfing for an answer all day, and can't
seem to nail this down.

Thanks,
Ryan

[ blackholes.cf ]
header RCVD_FROM_SPAMHAUS     eval:check_rbl('isp', 'sbl.spamhaus.org.')
describe RCVD_FROM_SPAMHAUS   Received from Spamhaus

score RCVD_FROM_SPAMHAUS                2.0



-------------------------------------------------------
This SF.net email is sponsored by: Microsoft Visual Studio.NET
comprehensive development tool, built to increase your
productivity. Try a free online hosted session at:
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk


-------------------------------------------------------
This SF.net email is sponsored by: Microsoft Visual Studio.NET comprehensive development tool, built to increase your productivity. Try a free online hosted session at:
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to