Problem w/ mutt macros supplied
Jake Di Toro
karrde at cox.net
Fri Jan 31 17:39:02 CET 2003
I ran into an intresting problem with the mutt macros supplied in the
man page. They don't work to well. The reason being is is mutt is
not displaying full headers than only the shown headers are piped to a
<pipe-message>.
Here's an example of how I foud this out.
Original message header w/o using -u:
X-Bogosity: No, tests=bogofilter, spamicity=0.000066, version=0.9.1.2
I was curious as to some of the detail, so I hit my macro that does a
'bogofilter -vv' on the current msg:
X-Bogosity: Unsure, tests=bogofilter, spamicity=0.499546,
version=0.9.1.2
int cnt prob spamicity histogram
0.00 18 0.005275 0.002577 ##################
0.10 2 0.127674 0.009551 ##
0.20 3 0.265336 0.032027 ###
0.30 4 0.359585 0.071251 ####
0.40 0 0.000000 0.000000
0.50 0 0.000000 0.000000
0.60 1 0.643535 0.091774 #
0.70 4 0.749928 0.181980 ####
0.80 1 0.872770 0.208202 #
0.90 6 0.999673 0.444420 ######
needless to say I was a little shocked, I'd gone from no questions
asked ham, to almost dead in the middle. So a little more detail:
X-Bogosity: Unsure, tests=bogofilter, spamicity=0.499546,
version=0.9.1.2
Token pgood pbad fw invfwlog fwlog
1 alameda.net 44.31 0 0.000009 -0.00001 -11.57841
2 bsdnet 44.31 0 0.000009 -0.00001 -11.57841
3 listinfo 44.31 0 0.000009 -0.00001 -11.57841
4 mailman 44.31 0 0.000009 -0.00001 -11.57841
5 mailman.alameda.net 44.31 0 0.000009 -0.00001 -11.57841
6 bsdnet.org 24.92 0 0.000017 -0.00002 -11.00307
7 haides 5.54 0 0.000075 -0.00007 -9.49913
...
40 P_Q_S_invsum_logsum 0.00091 0.00000 0.499546 -61.414 -184.876
Only 40 tokens and still the odd spamicity. Going on a hunch I turned
on full headers and ran it again:
X-Bogosity: No, tests=bogofilter, spamicity=0.000066, version=0.9.1.2
Token pgood pbad fw invfwlog fwlog
1 userid 47.08 0 0.000009 -0.00001 -11.63904
2 64.81.63.137 44.31 0 0.000009 -0.00001 -11.57841
3 alameda.net 44.31 0 0.000009 -0.00001 -11.57841
4 bsdnet 44.31 0 0.000009 -0.00001 -11.57841
5 bsdnet-admin 44.31 0 0.000009 -0.00001 -11.57841
6 bsdnet-request 44.31 0 0.000009 -0.00001 -11.57841
...
106 P_Q_S_invsum_logsum 0.99987 0.00000 0.000066 -71.660 -694.336
106 tokens and the right spamicity.
What apparently needs to be added to the mutt macros for the
registration emails is "unset weed" before and "set weed" after so
that all the headers are sent when registering mail as spam/ham
--
Till Later,
Jake
More information about the Bogofilter
mailing list