On Sun, 20 Apr 2014 12:14:37 -0700 (PDT)
"Dan Mahoney, System Admin" <d...@prime.gushi.org> wrote:

> Most of my users aren't command-line friendly.  I'd like to basically
> have my IMAP server default to handing out two imap mailboxes that
> get auto-crontabbed to training bayes.

Here is my cronjob for that purpose, in its entirety.  Note that each of
~/spam-corpora{ham,spam} is a Maildir.  There is a small race condition
between the sa-learn run and the move to cur, which wasn't worth fixing
in my case; if you use this and fix it let me know :)

-- 
Please *no* private copies of mailing list or newsgroup messages.

gpg public key: 2048R/984A8AE4
fingerprint: 7953 ADA1 0E8E AB57 FB79  FFD2 360A 88B2 984A 8AE4
Funny pic: http://bit.ly/ZNE2MX

Attachment: sa-learn-sync
Description: Binary data

Reply via email to