You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Justin Mason <jm...@jmason.org> on 2006/11/20 11:43:26 UTC

Re: Simple net tests command

Gary V writes:
> >Gary V wrote:
> 
> > > I understand since 3.1.6, 'spamassassin --lint -D' turns off net tests
> > > and AWL. I would like to request a feature that provides the
> > > functionality of what was lost here. It's a pain to have to perform
> > > the additional task of locating a test message so debug has something
> > > legitimate to work with.
> 
> Matt wrote:
> 
> >There's two included in the SA tarball.. It really shouldn't be *that* 
> >hard.
> 
> No, it's not, but if you are setting up a new system and installing from a 
> package and wish to test Pyzor/Razor/DCC as you add and configure them it 
> can be disruptive to have to download source code simply to obtain a test 
> message.
> 
> >But I would agree with your suggestion below:
> > > Maybe something like 'spamassassin --test -D' could bring back the old
> > > behavior.
> >Fair enough, although really this would have to be revamped
> >considerably. The old --lint did NOT contain any Received: headers, so
> >there wasn't any real testing of the DNS based network checks. I think a
> >good "second reason" why network tests were turned off in --lint is
> >because people actually thought it was a useful test for them. Other
> >than Razor/Pyzor/DCC, it's a pretty useless test case for network tests.
> >
> >If SA adds a "--test", the message used should be reasonably complete,
> >and not a trivial dummy.
> 
> Yes, that would be ideal.

It would be possible to add a "test switch" to SpamAssassin, which
simply ran a copy of sample-nonspam.txt through (the copy would
be installed as /usr/share/spamassassin/sample-spam.txt or something).

If you want to see that, feel free to file an enhancement request "bug"
on the bugzilla ;)

--j.