|
|||||||||||
|
add_header and Bayes
From: Matthias Leisi <matthias(at)leisi.net>
Date: Wed Sep 19 2007 - 14:29:16 EDT
[This question may be more appropriate for the dev-list, please move as required] Hi list, When I originally wrote the experimental ASN plugin (since then SpamAssassin-ized and improved by the dev team), my impression was that headers added by an add_header directive in a *.cf file would be taken up by Bayes - specifically to allow Bayes to learn "bad networks" automagically from a "X-Spam-ASN" header. However, that header seems not to be used by Bayes. The relevant configuration:
ifplugin Mail::SpamAssassin::Plugin::ASN
asn_lookup asn.routeviews.org _ASN_ _ASNCIDR_
add_header all ASN _ASN_ _ASNCIDR_
For mails from this list, I get the following headers (example from a recent message):
Almost all messages to this very list get "autolearn=ham", and it's obvious from the -Hammy header above that SA did consider headers added at an earlier stage. What would need to be done/changed/configured to allow learning on the X-Spam-ASN header?
iD8DBQFG8Wp7xbHw2nyi/okRAkhyAJ9bhLOnZoIozlTWHbXZVniBtJAY7QCgyo6V
F/FlBRqAlvGttuJ/GjwLsLQ=
This archive was generated by hypermail 2.1.8 : Sat Oct 27 2007 - 08:54:11 EDT |
||||||||||
|
|||||||||||