understanding bogofilter

Tony L. Svanstrom tony at svanstrom.com
Tue May 6 17:11:03 CEST 2003


On Tue, 6 May 2003 the voices made Simon Huggins write:

SH> Hiya Bogofilter,
SH>
SH> On Tue, May 06, 2003 at 08:04:26AM -0400, David Relson wrote:
SH> > In particular message/rfc822 isn't handled.  Using a perl script to
SH> > extract the forwarded message would be a good solution.
SH>
SH> > P.S.  If anyone wants to write the perl script, there's room in the
SH> > bogofilter/contrib directory.
SH>
SH> This was actually very trivial to do (the code is smaller than the POD
SH> and the copyright boilerplate stuff).
SH>
SH> I've attached something you might like to include if you think it will
SH> be of any use to people.
SH>
SH> It just extracts all message/rfc822 parts from a message and dumps them
SH> on STDOUT.

 Just remember that MIME::Parser isn't available for everyone that might want
to use this script, and that if people want to add this to their procmailrc it
might mess things up if it extracts every rfc822-part and not only the first
level.


-- 
      /\___/\                                              /\___/\
      \_@ @_/                                              \_@ @_/
 +--oOO-(_)-OOo------------------------------------------oOO-(_)-OOo--+
 | Per scientiam ad libertatem! // Through knowledge towards freedom! |
 +---ôôô---ôôô--------------------------------------------ôôô---ôôô---+
     \O/   \O/      (c)1998-2003  tony at svanstrom.com      \O/   \O/





More information about the Bogofilter mailing list