Re: [SAtalk] Ham and Spam script

2003-09-12 Thread Kevin Sullivan
Has anyone written a script that run sa-learn through an IMAP folder? Yes. Try this one: $ cat trainbayes # !/bin/bash sa-learn --no-rebuild --ham --dir /home/mail/amavis/maildir/.ham/cur/ sa-learn --no-rebuild --spam --dir /home/mail/amavis/maildir/.spam/cur/ sa-learn --rebuild If the IMAP serve

Re: [SAtalk] Ham and Spam script

2003-09-12 Thread Jim
On Wed, Sep 10, 2003 at 10:53:38AM +0100, James Gardiner wrote: > Has anyone written a script that run sa-learn through an IMAP folder? Here's a couple of cron jobs I use to do it: # Run user-supplied spams through SA's Bayesian learner 31 */2 * * * rootmv /var/mai

Re: [SAtalk] Ham and Spam script

2003-09-11 Thread Peter Kiem
Hi James, > Has anyone written a script that run sa-learn through an IMAP folder? Yes. Try this one: $ cat trainbayes #!/bin/bash sa-learn --no-rebuild --ham --dir /home/mail/amavis/maildir/.ham/cur/ sa-learn --no-rebuild --spam --dir /home/mail/amavis/maildir/.spam/cur/ sa-learn --rebuild --

[SAtalk] Ham and Spam script

2003-09-11 Thread James Gardiner
Has anyone written a script that run sa-learn through an IMAP folder? James --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Spamassassin-talk mai