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."
How about:
formail -s spamassassin -r < mbox
?
------------------------------------------------------- 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