How to feed email into bayes equivilent from maildir

29 views
Skip to first unread message

Sophie Loe

unread,
Apr 6, 2017, 9:14:33 AM4/6/17
to rspamd
Hi,

I'm migrating from SA to rspamd on a new mailserver.

I have 10,000 spam emails and 10,000 ham that I'd like to feed into rspamd. They are stored in Dovecot maildir.  
With SA I used sa-learn --username=ja...@example.com --spam `list of file names`

How should I process them?


Kind regards, Sophie

Vsevolod Stakhov

unread,
Apr 6, 2017, 10:28:46 AM4/6/17
to Sophie Loe, rspamd
On 06/04/17 14:14, Sophie Loe wrote:
> Hi,
>
> I'm migrating from SA to rspamd on a new mailserver.
>
> I have 10,000 spam emails and 10,000 ham that I'd like to feed into
> rspamd. They are stored in Dovecot maildir.
> With SA I used sa-learn --username=ja...@example.com --spam `list of file
> names`
>

rspamc learn_spam /maildir/cur

You might also need to specify password for the controller.
Reply all
Reply to author
Forward
0 new messages