Status lines

David Relson relson at osagesoftware.com
Thu Mar 6 15:51:00 CET 2003


At 09:01 AM 3/6/03, Boris 'pi' Piwinger wrote:

>David Relson wrote:
>
> >>I guess this has been discussed before. What does bogofilter
> >>do with respect to Status header lines? Incoming mail in
> >>general won't have them, but if you train from a mail
> >>database (mbox) they are there. I am wondering if that could
> >>have any effect. Of course, all mails will have that line in
> >>the training set.
> >
> > Bogofilter ignores any "X-Bogosity:" lines it finds.  This causes an
> > already scored message to be treated just like an unscored message.  When
> > bogofilter does the check, it uses the spam_header_name value from the
> > config file.  If none is given, the default is the "X-Bogosity" string
> > you're accustomed to.
>
>I don't mean the spam status line, but the status line of mbox:
>Status: O
>or
>Status: RO
>
>Since I don't add the above header anyway, that is not my
>concern. I could delete the Status headers (formail -I), but
>every time I open one of the mboxes (to correct wrong mails,
>I found about ten this morning in my spam database) they are
>all newly created.

pi,

Nothing special is done with those lines.  The "O" and "RO" are too short 
to be kept. (bogofilter's minimum length is 3 chars).  "Status:" becomes 
token "status".  If you only use the "-s" with mailboxes, the worst that 
will happen is that bogofilter will thing "status" means spam.  Having a 
single token that's wrong will have very little effect on the scoring of a 
message.

David






More information about the Bogofilter mailing list