Training Spamassassin model by using the sa-learn in Modoboa

Lei
Oct 27, 2023

--

We suppose you have installed all components, and you moved some spam emails into the Junk folder. Then you can trigger manually sa-learn to train the Spamassassin model.

Tips: it will be automatically trained after you have moved more than 200 emails into the Junk folder by default. This can be modified by the configuration file.

If you want to trigger manually, run the below code:

sa-learn --spam /srv/vmail/DOMAIN/*/Maildir/.Junk/{cur,new}

--

--

Lei
Lei

Written by Lei

0 Followers

An Assistant Lecturer at Guangzhou College of Technology and Business in China.

No responses yet