Teching bogofilter by forwarding messages

Eric Wood eric at interplas.com
Thu Dec 18 19:54:40 CET 2003


Michal Wieja wrote:
> 1. Does it matter that most of the e-mail software will not forward full
e-mail header.

I'm a newbie at this and asked the same question.  Users should forward the
email as an attachemtn that way all header information is preserved.  One
fellow here wrote a script to rip on the mime attachment before passing it
on to bogofilter to retrain on.  Ripping the mime attachment out and undoing
the subject line change would be cool to put in your pipe:

message-is-spam: "|rip_mime| sed 's/[{SPAM|IUNSURE}]//g'
|/usr/bin/bogofilter -Ns"
message-is-ham: "|rip_mime| sed 's/[{SPAM|IUNSURE}]//g'
|/usr/bin/bogofilter -Sn"

If that works I'd like to do that too!
-eric wood





More information about the Bogofilter mailing list