Hello Andrew, On Saturday 16 August 2003 22:29, Andrew Clarke wrote: > I have multiple mailboxes in ~/mail, as do the other users on my server. > ~/mail/spam/definitely_spam is an mbox that contains, well, spam. If I > run: > > sa-learn --ham --mbox /home/someuser/mail/* > > it will autolearn the spam/definitely_spam mailbox as ham, which I > obviously don't want. I can think of 2 workarounds:
You can use a shell script or for instance this 'find' syntax : find /home/someuser/mail \ -type f ! -name "definitely_spam" \ -exec sa-learn --ham --mbox {} \; sa-learn --spam --mbox /home/someuser/mail/spam/definitely_spam Best regards, Eric Veltman ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk