OT: SA -d --lint says 'dns: is DNS available? 0'

Stephen Swaney steve.swaney at fsl.com
Thu Oct 12 00:07:30 IST 2006


> -----Original Message-----
> From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-
> bounces at lists.mailscanner.info] On Behalf Of Matt Kettler
> Sent: Wednesday, October 11, 2006 6:38 PM
> To: MailScanner discussion
> Subject: Re: OT: SA -d --lint says 'dns: is DNS available? 0'
> 
> Stephen Swaney wrote:
> 
> > Did you mean?
> >
> > In SA 3.1.6 and higher the network tests are >NOT< enabled when you're
> > running --lint, as they aren't relevant. The purpose of lint is to check
> > your config files, not your network connectivity.
> >
> > Which would explain why I was going crazy today trying to find out why
> only
> > the local checks (spamassassin -L) were running !
> >
> > Still would be nice to have a flag to enable network checks when you
> need
> > to.
> >
> > 	spamassassin -N --lint :)
> 
> 
> Why? enabling network checks on the --lint is pointless, the headers of
> the
> dummy lint message are not complete enough to be a useful test.
> 
> For example, the message used by lint doesn't even have *ANY* Received:
> headers,
> so no RBL tests will even try to run. If SA supported -N --lint you'd just
> be
> fooling yourself into thinking you're testing something that's enabled,
> but not
> really being tested in any useful way.
> 
> I suggest not using lint for this purpose at all, and instead use a
> message file
> and redirect it into SA. ie: spamassassin <message.txt
> 

Actually it did show whether Pyzor, Razor, DCC were working or timing out
but your suggestion should do the same thing.

Thanks,

Steve

Stephen Swaney
Fort Systems Ltd.
stephen.swaney at fsl.com
www.fsl.com



More information about the MailScanner mailing list