On Fri, 26 Sep 2003 11:56:23 -0400, Kenneth Dombrowski <[EMAIL PROTECTED]> penned:
> 
> The --dir option supports globbing too, since I have separate maildirs
> for SA-caught & SA-missed spam, I was able to do something like:
> 
> $ sa-learn --spam --dir ~/Maildir/.spam-*/cur
> 
> & then
> 
> $ sa-learn --ham --dir ~/Maildir/.clients.*/cur
> $ sa-learn --ham --dir ~/Maildir/.people.*/cur
> 
> etc, etc
> 
> It still takes some time to churn through, but I was able to learn it
> something like 6,000 messages with 1/2 dozen commands, fairly unattended
> 

'find' is also remarkably effective.  Temporarily move spam mailboxes to
some other location and run 

find . -type f -exec sa-learn --nonspam --mbox {} \;

from your mail directory.

Then run sa-learn on the spam boxes in similar faction, but with --spam.

-- 
monique

My pointless ramblings:
http://www.bounceswoosh.org/phorum/index.php?f=6



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to