You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Will Yardley <sa...@veggiechinese.net> on 2004/09/18 00:17:52 UTC

dnsbl tests apparently not running

I'm running spamassassin 3.0rc4 on OpenBSD sparc64.

Dnsbl tests don't appear to be running, and when running "make test", I
get:

t/dnsbl.....................skipped
        all skipped: no reason given

I had originally checked the option to skip network checks during the
test, but ran "make clean" and selected the option to do the tests the
second time around.

And, in any event, the checks should be working when SA itself is run,
right? I checked and RBL checks etc. aren't disabled in my user_prefs or
in local.cf. I'm not 1000% sure they're not being run, but relatively
certain from looking at the SA markup in messages I've received. Any
good way to test this or figure out why it might be happening?

Running SA on a mailbox or message in debug mode does not appear to show
any dnsbl tests happening.

Also, the SPF plugin is enabled, but when I send messages from a host
not authorized to send mail for my domain, I don't see any SA markup
about SPF checks failing in the received messages.


Re: dnsbl tests apparently not running

Posted by Will Yardley <sa...@veggiechinese.net>.
On Fri, Sep 17, 2004 at 06:38:48PM -0400, Theo Van Dinter wrote:
> On Fri, Sep 17, 2004 at 03:30:36PM -0700, Will Yardley wrote:

> > Shouldn't the SA build & test process be a little more verbose about
> > this, though, and at least spit out some warnings about missing Perl
> > modules? While the dnsbnl tests may not be necessary for SA to work,
> > it's certainly a lot more effective with them. 
 
> That's just it though -- it's optional, as you've stated.  Just because it
> makes SA more effective doesn't make it required. ;)

Sure, but "make test" just says something like "test failed: no reason
given" - it could at least say that the test failed because Net::DNS is
missing.

Also, if Net::DNS is installed, but not the required version, SA doesn't
give any errors (that I can see) during the install or test process -
tests simply fail - you have to enter into debug mode to get the message
"debug: Net::DNS version is 0.xx, but need 0.34" (which, among all of
that output, is pretty damn easy to miss).

For instance, w/ Net::DNS 0.19 (current version of the Debian stable
package):

t/dnsbl.............    Not found: P_2 =  <dns:134.88.73.210.dnsbltest.spamassassin.org> [127.0.0.4] 
        Not found: P_7 =  <dns:134.88.73.210.sb.dnsbltest.spamassassin.org?type=TXT> 
t/dnsbl.............NOK 2       Not found: P_4 =  <dns:14.35.17.212.dnsbltest.spamassassin.org> [127.0.0.1, 127.0.0.1] 
        Not found: P_3 =  <dns:18.13.119.61.dnsbltest.spamassassin.org> [127.0.0.12] 
        Not found: P_5 =  <dns:226.149.120.193.dnsbltest.spamassassin.org> [127.0.0.1] 
t/dnsbl.............NOK 3       Not found: P_1 =  <dns:98.3.137.144.dnsbltest.spamassassin.org> [127.0.0.2] 

(even though these records resolve fine on the system itself). A more
useful error would be:

"test failed because you don't have the requisite version of Net::DNS"
or something.

Re: dnsbl tests apparently not running

Posted by Theo Van Dinter <fe...@kluge.net>.
On Fri, Sep 17, 2004 at 03:30:36PM -0700, Will Yardley wrote:
> Shouldn't the SA build & test process be a little more verbose about
> this, though, and at least spit out some warnings about missing Perl
> modules? While the dnsbnl tests may not be necessary for SA to work,
> it's certainly a lot more effective with them. 

That's just it though -- it's optional, as you've stated.  Just because it
makes SA more effective doesn't make it required. ;)

-- 
Randomly Generated Tagline:
"Holy DNS batman, you aren't on my list!"   - Error message

Re: dnsbl tests apparently not running

Posted by Will Yardley <sa...@veggiechinese.net>.
On Fri, Sep 17, 2004 at 06:20:47PM -0400, Theo Van Dinter wrote:
> On Fri, Sep 17, 2004 at 03:17:52PM -0700, Will Yardley wrote:

> > Running SA on a mailbox or message in debug mode does not appear to show
> > any dnsbl tests happening.
> 
> You have Net::DNS installed and the debug output shows it's available?

It's not installed. Sorry for not noticing that in the debug output.
Shouldn't the SA build & test process be a little more verbose about
this, though, and at least spit out some warnings about missing Perl
modules? While the dnsbnl tests may not be necessary for SA to work,
it's certainly a lot more effective with them. 

(and yes, I realize that if I installed it from CPAN, it would probably
work better, and I'll consider that in the future).

mitch% perl -MNet::DNS              
Can't locate Net/DNS.pm in @INC (@INC contains: /usr/libdata/perl5/sparc64-openbsd/5.8.2 /usr/local/libdata/perl5/sparc64-openbsd/5.8.2 /usr/libdata/perl5 /usr/local/libdata/perl5 /usr/local/libdata/perl5/site_perl/sparc64-openbsd /usr/libdata/perl5/site_perl/sparc64-openbsd /usr/local/libdata/perl5/site_perl /usr/libdata/perl5/site_perl /usr/local/lib/perl5/site_perl .).
BEGIN failed--compilation aborted.

Installing now...

Re: dnsbl tests apparently not running

Posted by Theo Van Dinter <fe...@kluge.net>.
On Fri, Sep 17, 2004 at 03:17:52PM -0700, Will Yardley wrote:
> And, in any event, the checks should be working when SA itself is run,
> right? I checked and RBL checks etc. aren't disabled in my user_prefs or

As usual, run with -D it tells you what's going on.

> Running SA on a mailbox or message in debug mode does not appear to show
> any dnsbl tests happening.

You have Net::DNS installed and the debug output shows it's available?
We can't really give you any feedback unless you share more information
(perhaps the -D output...)

-- 
Randomly Generated Tagline:
"He's NOT the Messiah, he's a very naughty boy!" - MP