Teching bogofilter by forwarding messages

Eric Wood eric at interplas.com
Thu Dec 18 21:26:50 CET 2003


Michal Wieja wrote:
>> message-is-spam: "|rip_mime| sed 's/[{SPAM|IUNSURE}]//g'
> Yes, but remember that e-mail software also puts 'FW:', 'Fwd:" into
> the subject line, to mark forwarded messages, some of them takes all
> subject into brackets '[' ']'.
>
> Actually, as far as I understand bogofilter is statistical analysis
> tool, so in theory FW, Fwd words should occur in both spams and hams,
> so weight of these words shouldn't have much input into final score.

But also remember, since the email is fowarded as an attacment your ripping
out the "unforwarded" version of the email.  You will not have those FW's as
they will only be in the wrapper email which gets chunked by the ripper.

-eric wood





More information about the Bogofilter mailing list