How To Install vrfy on Debian 10
Introduction
In this tutorial we learn how to install vrfy
on Debian 10.
What is vrfy
vrfy is:
‘vrfy’ is a tool to verify e-mail addresses and mailing lists. In its simplest form it takes an address “user@domain”, figures out the MX hosts for “domain”, and issues the SMTP command VRFY at the primary MX host (optionally all), or at “domain” itself if no MX hosts exist. Without “domain” it goes to “localhost”.
More complex capabilities are:
- recursively expanding forward files or mailing lists,
- detecting mail forwarding loops,
- understanding full-blown RFC822 address specifications,
- syntax checking that can be carried out either locally or remotely,
- various options provided to exploit alternative protocol suites if necessary, and to print many forms of verbose output.
Obvious limitations exist (mostly due to a lousy VRFY command implementation on some hosts), but otherwise, it works pretty well.
There are three methods to install vrfy
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 vrfy Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install vrfy
using apt-get
by running the following command:
sudo apt-get -y install vrfy
Install vrfy Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install vrfy
using apt
by running the following command:
sudo apt -y install vrfy
Install vrfy 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 vrfy
using aptitude
by running the following command:
sudo aptitude -y install vrfy
How To Uninstall vrfy on Debian 10
To uninstall only the vrfy
package we can use the following command:
sudo apt-get remove vrfy
Uninstall vrfy And Its Dependencies
To uninstall vrfy
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove vrfy
Remove vrfy Configurations and Data
To remove vrfy
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge vrfy
Remove vrfy configuration, data, and all of its dependencies
We can use the following command to remove vrfy
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge vrfy
Dependencies
vrfy have the following dependencies:
References
Summary
In this tutorial we learn how to install vrfy
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.