How To Install smtpprox-loopprevent on Ubuntu 18.04
Introduction
In this tutorial we learn how to install smtpprox-loopprevent
on Ubuntu 18.04.
What is smtpprox-loopprevent
smtpprox-loopprevent is:
smtpprox-loopprevent is a transparent SMTP proxy which rejects a message if any of the recipient addresses match a Delivered-To header.
It was written to be used as a Postfix before-queue filter.
There are three methods to install smtpprox-loopprevent
on Ubuntu 18.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install smtpprox-loopprevent Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install smtpprox-loopprevent
using apt-get
by running the following command:
sudo apt-get -y install smtpprox-loopprevent
Install smtpprox-loopprevent Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install smtpprox-loopprevent
using apt
by running the following command:
sudo apt -y install smtpprox-loopprevent
Install smtpprox-loopprevent 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 Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install smtpprox-loopprevent
using aptitude
by running the following command:
sudo aptitude -y install smtpprox-loopprevent
How To Uninstall smtpprox-loopprevent on Ubuntu 18.04
To uninstall only the smtpprox-loopprevent
package we can use the following command:
sudo apt-get remove smtpprox-loopprevent
Uninstall smtpprox-loopprevent And Its Dependencies
To uninstall smtpprox-loopprevent
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove smtpprox-loopprevent
Remove smtpprox-loopprevent Configurations and Data
To remove smtpprox-loopprevent
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge smtpprox-loopprevent
Remove smtpprox-loopprevent configuration, data, and all of its dependencies
We can use the following command to remove smtpprox-loopprevent
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge smtpprox-loopprevent
References
Summary
In this tutorial we learn how to install smtpprox-loopprevent
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.