https://bz.apache.org/SpamAssassin/show_bug.cgi?id=5655

--- Comment #12 from Henrik Krohns <[email protected]> ---
DNS is only used for ASN if GeoIP is not available.

In reality Bayes can't even use any DNS based data, since tokenizing is done
mere moments after async DNS is launched (dns prio -100, bayes -90). There is
no time to wait for actual replies.

Sa-learn doesn't even seem to harvest DNS replies, if some plugin decided to
query stuff. I guess all this was the reason for docs saying that network
lookups are not used even without -L. In the commit you see I blocked ASN from
sending DNS needlessly when learning, for some reason it was the only one that
did.

Now thinking about it, I guess sa-learn -L should be made a default option..
not sure what kind of network based test would even produce usable Bayes data.
ASN and any similar static data should be queried from local database.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to