How To Install mpop on Kali Linux
Introduction
In this tutorial we learn how to install mpop on Kali Linux.
What is mpop
mpop is:
mpop is a fast and simple fetchmail replacement to retrieve mail from POP3 servers. Its main features are header based mail filtering, multiple authentication methods, TLS encrypted connections or delivery.
There are a few things mpop can do that fetchmail can’t or that it does better:
- mpop never ever tries to parse mail information except for the envelope-from address, which is the bare minimum that it has to do.
- mpop never ever alters mail messages except for adding a “Received” header, which is the bare minimum that it has to do.
- mpop uses several techniques (including pipelining) to reduce the POP3 protocol overhead. It is therefore much faster than fetchmail.
- By default, mpop stores the mail UIDs (unique ids) in one file per account. You can poll different mail accounts in parallel.
- The progress output is nicer ;-)
- You can pipe the headers of a mail through a filter that decides if the mail should be downloaded, skipped, or deleted. This allows one to delete junk mail from a POP3 server without downloading the entire message.
- mpop can deliver mails directly to mbox and maildir mail folders.
There are three methods to install mpop on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install mpop Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install mpop using apt-get by running the following command:
sudo apt-get -y install mpopInstall mpop Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install mpop using apt by running the following command:
sudo apt -y install mpopInstall mpop Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install mpop using aptitude by running the following command:
sudo aptitude -y install mpopHow To Uninstall mpop on Kali Linux
To uninstall only the mpop package we can use the following command:
sudo apt-get remove mpopUninstall mpop And Its Dependencies
To uninstall mpop and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove mpopRemove mpop Configurations and Data
To remove mpop configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge mpopRemove mpop configuration, data, and all of its dependencies
We can use the following command to remove mpop configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge mpopDependencies
mpop have the following dependencies:
References
Summary
In this tutorial we learn how to install mpop package on Kali Linux using different package management tools: apt, apt-get and aptitude.