Install bsfilter by entering the following commands in the terminal:
sudo apt update sudo apt install bsfilter
Description:
Bayesian spam filter
Bsfilter is a spam filter which can distinguish spam mail from other mails. It can read mails by three way: * reads from normal file or stdin. * retrieves and stores from IMAP server. * reads from POP server and passes to POP client. (POP proxy) Bsfilter gives nice support of Japanese.
Homepage: http://sourceforge.jp/projects/bsfilter/
Version: 1:1.0.19-2
Section: universe/mail