On Sun, 07 Sep 2003 15:55:40 -0400 Burt Juda <[EMAIL PROTECTED]> wrote: > > You can pipe it thru 'formail' to nuke the headers that SA added, like > so: > > cat FILE | formail -I'X-Spam-Checker-Version:' -I'X-Spam-Level:" > \ > -I'X-Spam-Status:' -ds sa-learn --[s]ham > > The '-ds' parameter causes formail to break the file into separate > messages and will feed each to the pipe into sa-learn. >
The spamassassin FAQ says http://spamassassin.taint.org/faq/index.cgi?req=show&file=faq05.002.htp If you run sa-learn on a mail folder that includes messages with the SpamAssassin markup (X-Spam-Status headers, "real" message encapsulated as a message/rfc822 MIME part, Subject header tagged etc.), it'll automatically remove the markup on the fly. Cheers Nigel ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk