Install bsfilter by entering the following commands in the terminal:
sudo apt update sudo apt install bsfilter
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.