separate MIME parsing

josh rotenberg josh at parasite.com
Fri Jan 21 18:58:44 CET 2005


I'm not sure what your needs are exactly, but if you can use Perl you are in
luck.  Have a look at MIME::Parser ...

http://search.cpan.org/~dskoll/MIME-tools-5.417/lib/MIME/Parser.pm


On Fri, Jan 21, 2005 at 07:59:42AM -0500 Tom Anderson <tanderso at oac-design.com> said:
> On Thu, 2005-01-20 at 19:05, 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"?
> > 
> > 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,
> 
> Use Perl.  See http://orderamidchaos.com/bogofilter/bfproxy as an
> example.
> 
> Tom
> 
> 
> _______________________________________________
> Bogofilter mailing list
> Bogofilter at bogofilter.org
> http://www.bogofilter.org/mailman/listinfo/bogofilter



More information about the Bogofilter mailing list