Install filter by entering the following commands in the terminal:
sudo apt update sudo apt install filter
Description:
program that filters local email via forward/pipe
filter is one of the original mail filtering programs written for UNIX. (originally a part of the 'elm' mailer) Install it via a pipe(|) reference in $HOME/.forward, and let it separate your incoming email into different personal mailboxes.
Homepage: http://www.bolthole.com/filter/
Version: 2.6.3+ds1-3
Section: universe/mail