How To Install vrfydmn on Ubuntu 18.04

In this tutorial we learn how to install vrfydmn on Ubuntu 18.04. vrfydmn is Milter for ensuring email message from matches mail from

Introduction

In this tutorial we learn how to install vrfydmn on Ubuntu 18.04.

What is vrfydmn

vrfydmn is:

This milter is used with postfix or sendmail to either reject mail from/body from mismatches or to fix up the body from to match mail from. This is intended for applications where local constraints on domains in use are required for sending mail.

There are three methods to install vrfydmn 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 vrfydmn Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

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

sudo apt-get -y install vrfydmn

Install vrfydmn Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install vrfydmn

Install vrfydmn 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 vrfydmn using aptitude by running the following command:

sudo aptitude -y install vrfydmn

How To Uninstall vrfydmn on Ubuntu 18.04

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

sudo apt-get remove vrfydmn

Uninstall vrfydmn And Its Dependencies

To uninstall vrfydmn and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove vrfydmn

Remove vrfydmn Configurations and Data

To remove vrfydmn configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge vrfydmn

Remove vrfydmn configuration, data, and all of its dependencies

We can use the following command to remove vrfydmn configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge vrfydmn

References

Summary

In this tutorial we learn how to install vrfydmn package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.