OT: SA -d --lint says 'dns: is DNS available? 0'
Matt Kettler
mkettler at evi-inc.com
Wed Oct 11 23:38:15 IST 2006
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
More information about the MailScanner
mailing list