| Main Archive Page > Month Archives > spamassassin-users archives |
On Thu, 18 Mar 2010 22:32:45 -0400
Matt Kettler <mkettler_sa@verizon.net> wrote:
> On 3/17/2010 8:32 PM, RW wrote:
> > The ASN and RelayCountry plugins are supposed to add extra tokens to
> > Bayes. However, I don't see any evidence that this is happening
> > (in 3.3.0). In a test message I see:
> >
> > bayes: header tokens for X-Relay-Countries = " GB GB ** ** GB GB"
> >
> > but don't see any corresponding tokens containing GB
> >
> > I also see the asn debug:
> >
> > asn: asn.routeviews.org.: lookup result packet:
> > '228.99.151.89.asn.routeviews.org. 6580 IN TXT "24931"
> > "89.151.64.0" "18"'
> > and in the headers
> > X-Spam-ASN: AS24931 89.151.64.0/18
> >
> > but 24931 appears nowhere in the bayes tokens.
> >
> >
> Interesting. I assume you're checking in "spamassassin -D bayes <
> message.txt", not sa-learn --dump, right?
yes
> You *should* see a debug like this one:
> dbg: bayes: header tokens for X-Relay-Countries = " TR"
Right, I'm seeing a "header tokens for" line (see quote text), what I'm
not seeing are any actual tokens. I was expecting to see something like
dbg: bayes: token 'HX-Relay-Countries:GB' => 0.01056...
but I searched the debug for both "Countries" and "GB" and found no
such token.
I don't see anything at all for ASN.