Since the messages are received post spamassassin processing they contain all the spamassassin stuff (marked-up-and put-in-an-attachment version). My understanding was that sa-learn is smart enough to ignore all its marked up stuff. I hope that it true even when it is given the '--mbox' option. The sa-learn man page doesn't say the --mbox changes the behaviour and the documentation for the --spam option states: " If the messages have already been filtered through SpamAssassin, the learner will ignore any modifications SpamAssassin may have made."
On Mon, 10 Nov 2003 14:05:24 -0800, Kelson Vibber <[EMAIL PROTECTED]> wrote: >Ken Bass wrote: >> My question is how to report a *mailbox* of spam to razor2. I just >> added razor2 to my configuration and wanted to contribute. >... >>I then call 'sa-learn --mbox --spam' on the input file > >If I understand correctly, this means that at this point you have the >messages in their original state. (IIRC sa-learn expects to get the >original messages, not the marked-up-and-put-in-an-attachment version.) If >that's the case, then you can just pipe the mailbox to "razor-report --mbox". > > >Kelson Vibber >SpeedGate Communications <www.speed.net> > > > > >------------------------------------------------------- >This SF.Net email sponsored by: ApacheCon 2003, >16-19 November in Las Vegas. Learn firsthand the latest >developments in Apache, PHP, Perl, XML, Java, MySQL, >WebDAV, and more! http://www.apachecon.com/ >_______________________________________________ >Spamassassin-talk mailing list >[EMAIL PROTECTED] >https://lists.sourceforge.net/lists/listinfo/spamassassin-talk ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk