mailfilter command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
mailfilter: command not found
or when using sudo you get the following error message
sudo: mailfilter: command not found
Solutions to mailfilter: command not found
How To Fix mailfilter: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu mailfilter is provided by mailfilter package.
mailfilter is:
Mailfilter is very flexible utility for UNIX (-like) operating systems to get rid of unwanted e-mail messages, before having to go through the trouble of downloading them to the local computer. It offers support for one or many POP3 accounts and is especially useful for dialup connections via modem, ISDN, etc. Install Mailfilter if you’d like to remove spam from your POP3 mail accounts.
With Mailfilter you can define your own filters (rules) to determine which e-mails should be delivered and which are considered waste. Rules are Regular Expressions, so you can make use of familiar options from other mail delivery programs such as e.g. procmail.
If you do not get your mail from a POP3-Server you don’t need Mailfilter.
To fix this problem, we can install more using the command below.
sudo apt-get -y install mailfilter
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install mailfilter.
sudo apt -y install mailfilter
Or if you have aptitude installed you can use the following command.
sudo aptitude install mailfilter
Summary
In this tutorial we learn how to fix mailfilter command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.