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
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
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
--
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