Content-Type: text

David Relson relson at osagesoftware.com
Mon Jul 21 16:40:19 CEST 2003


At 10:20 AM 7/21/03, Peter Bishop wrote:
>On 20 Jul 2003 at 17:24, David Relson wrote:
>
> > Currently bogofilter requires the slash and will skip a mime part whose
> > content lacks the slash.  It has been suggested that bogofilter be changed
> > to accept messages with non-conformant lines.
> >
> > The question is:  Should bogofilter continue to require the slash, or not?
> >
>
>Perhaps the default type should be text/plain
>and is taken as the assumed type if:
>1) Content-Tyoe is unspecified
>2) Content-Type is invalid (e.g "text")

That is, indeed, the way bogofilter currently operates.

>Also maybe we should create tokens: "ctype:invalid" or "ctype:missing"
>which could be used for spam recognition.

There's probably a lot that could be done with meta-tokens, i.e. tokens 
that reflect attributes of a message (rather than the text in it).

People should feel free to implement such ideas and test them.  Let us know 
about your success and failures :-)

David





More information about the Bogofilter mailing list