[Rspamd-Users] Training rspamd

L. Jankok ljankok at gmail.com
Sun Apr 19 05:15:20 UTC 2020


Assuming you*r MTA is postfix*

*in master.cf <http://master.cf>*

retrain   unix    -       n       n       -       10      pipe

  flags=Rhqu user=rspamd argv=/usr/local/bin/rspamc -P some-password
$nexthop

in transport

##

# Define RSPAMD retraining Transport

##

spam at yourdomain retrain:learn_spam

ham at yourdomain retrain:learn_ham

#

corpus at yourdomain corpus:spam

Now you can redirect mails to spam at yourdomain, ham at yourdomain or
corpus at yourdomain.

Op vr 17 apr. 2020 om 21:26 schreef Kim Sindalsen via Users <
users at lists.rspamd.com>:

> Hi,
>
>
>
> Would it be possible to train the bayesian filter by setting up two emails
> -
> ie. ham at my.domain <mailto:ham at my.domain>  and spam at my.domain
> <mailto:spam at my.domain>  and then forward mails to those addresses?
>
>
>
> As in; make it train every message received at ham at my.domain as ham and
> vice
> versa?
>
>
>
> Regards,
>
> Kim Sindalsen
>
> --
> Users mailing list
> Users at lists.rspamd.com
> https://lists.rspamd.com/mailman/listinfo/users
>


More information about the Users mailing list