Hello

> Hi all,
>
> How di u guys train SA? Logically, I can export mailboxes to mbox
> format and train them.

I found interesting page:
http://www.gagravarr.org/code/
which contains script imap-sa-learn.pl
From description:
This uses Mail::IMAPClient to connect to you IMAP server, and pass the mails 
through sa-learn, the Bayesian filter learner for SpamAssassin. It allows you 
to train the filter using mail located on a remote IMAP server. Now supports 
deleting spams after learning. Artistic License.

Logic of script is very simple:
retrieve message from IMAP server (different folders of ham and spam) and pass 
it to sa-learn.

-- 
Oleg Lapshin

Reply via email to