You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Christian Kowarzik <ck...@email.de> on 2005/02/09 19:33:01 UTC
sa-learn says 'cannot use DNS'
Hi!
Why does sa-learn say 'cannot use DNS' even when spamassassin says DNS
is surely available?
if i invoke
'spamassassin -p ./spam.assassin.prefs.conf -D --lint'
it says DNS is available:
debug: is Net::DNS::Resolver available? yes
debug: Net::DNS version: 0.48
debug: trying (3) ebay.com...
debug: looking up NS for 'ebay.com'
debug: NS lookup of ebay.com succeeded => Dns available (set
dns_available to hardcode)
debug: is DNS available? 1
but when i invoke
'sa-learn -D -p ./spam.assassin.prefs.conf --spam --mbx Junk'
it says 'cannot use DNS':
debug: received-header: cannot use DNS, do not trust any hosts from
here on
I have no idea where the problem is...
Thank you for your help.
Christian Kowarzik
Re: sa-learn says 'cannot use DNS'
Posted by Michael Parker <pa...@pobox.com>.
On Wed, Feb 09, 2005 at 07:33:01PM +0100, Christian Kowarzik wrote:
>
> Why does sa-learn say 'cannot use DNS' even when spamassassin says DNS
> is surely available?
>
Because sa-learn specifically turns off network tests:
local_tests_only => 1,
It doesn't need them, so it doesn't bother to run through all that
code.
Michael