Emmanuel Seyman wrote:

Hello all.

I've set up SA at $WORK and now want to train the bayesian classifier.
To that end, a public folder has been setup on our Exchange server and
I want to run sa-learn on any email that is transferred to it.

I'm guessing this is a popular thing to do and that there would already
be a wrapper around sa-learn on github but my Google-foo seems to be
off today.

Is there such a wrapper or do I have to write my own script?

Have a look at http://deepnet.cx/~kdeugau/spamtools/imap-learn. It looks like the link for the original script I mangled to create that has moved to https://dmzs.com/tools/files/spam.php.

Fair warning, I gave up on using IMAP for feeding Bayes locally because it started to glitch out and fail for no reason I could see. But the mailboxes I'm learning from are maildir on a *nix platform, not whatever black box Exchange hides things in.

-kgd

Reply via email to