On Wed, 2009-07-15 at 08:30 -0400, Daniel Schaefer wrote:
> > >     *  4.5 BAYES_99 BODY: Bayesian spam probability is 99 to 100%
> > >     *  1.2 ADVANCE_FEE_2 Appears to be advance fee fraud (Nigerian 419)
> > >     *  2.9 KAM_LOTTO1 Likely to be a e-Lotto Scam Email
> >
> > Is your header formatted like this in Thunderbird or are you using a 
> > different MUA? If Thunderbird, how do you get it formatted like that?

That's the format of the Report header, or rather the _REPORT_ template.

In this case copied raw from a terminal, without any MUA involved. I
tested the body dump with a specially crafted file -- for some proper
Bayes results for this very text only (without any header tokens
poisoning the result), I could not use the message as posted to the
list.

Keep in mind that MUAs *might* re-flow headers. I believe TB does not in
raw source view, but Evolution unfortunately does.


> I think I may have answered my own question. Correct me if I'm wrong but 
> you have report_safe = 1 or 2

Sure, anytime. You're wrong. :)

  $ grep ^report_safe /etc/mail/spamassassin/local.cf 
  report_safe 0

The report_safe 0 setting results in the Report header added by default
for spam, equivalent to this setting:

  add_header spam  Report _REPORT_

If you want the Report header for all mail instead, regardless of your
report_safe setting, add it to local.cf with 'all' instead of 'spam'.


-- 
char *t="\10pse\0r\0dtu...@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}

Reply via email to