How To Install mpop on Debian 10

Learn how to install mpop on Debian 10 with this tutorial. mpop is POP3 mail retriever

Introduction

In this tutorial we learn how to install mpop on Debian 10.

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.

This package is compiled with GSASL and TLS/SSL support.

There are three methods to install mpop on Debian 10. 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 update

After updating apt database, We can install mpop using apt-get by running the following command:

sudo apt-get -y install mpop

Install mpop Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install mpop using apt by running the following command:

sudo apt -y install mpop

Install mpop Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install mpop using aptitude by running the following command:

sudo aptitude -y install mpop

How To Uninstall mpop on Debian 10

To uninstall only the mpop package we can use the following command:

sudo apt-get remove mpop

Uninstall mpop And Its Dependencies

To uninstall mpop and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove mpop

Remove mpop Configurations and Data

To remove mpop configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge mpop

Remove 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 mpop

Dependencies

mpop have the following dependencies:

References

Summary

In this tutorial we learn how to install mpop package on Debian 10 using different package management tools: apt, apt-get and aptitude.