separate MIME parsing
    David Relson 
    relson at osagesoftware.com
       
    Fri Jan 21 01:29:13 CET 2005
    
    
  
On Fri, 21 Jan 2005 01:05:58 +0100
C. Fischer wrote:
> i would like to compare "bogofilter" to "ifile".  the latter doesn't have MIME
> parsing.  the customary MIME parsers available for scripting do not easily fit
> into an environment where the actual results aren't needed and wouldn't need
> to get saved somewhere.
> 
> could "bogofilter"s MIME parsing be split out into a separate library for a
> task like "just get the text portion as a token stream"?
Clemens,
The short answer is "not easily".  Mime processing involves recognizing
mime boundaries, mime header parts, and mime body parts.  It's closely
tied to the parser, i.e. lexer_v3.l.
Sorry,
David
> which packages would you recommend?  the ones i looked at, eg. "reformime"
> from "maildrop" or "munpack", all want to save to files instead of letting me
> select text/* parts to output on stdout.
> 
>   clemens
    
    
More information about the bogofilter
mailing list