Here is How to install qmail on Ubuntu 18.04 easily with this quick installation guide. Just follow some steps below and install qmail easily on your system.
How to install qmail on Ubuntu?
First of all update your Ubuntu with the following command
sudo apt-get update
Now install the qmail package with the following command:
sudo apt-get install qmail
Install qmail by entering the following commands in the terminal:
sudo apt update sudo apt install qmail
The Above commands will confirm before installing the package on your Ubuntu 18.04 Operating System. If you are not already logged in as super user then installer will ask you the root password. After completing the process of installation you can use the package on your Ubuntu system.
How to remove qmail from Ubuntu?
To remove Qmail package from your Ubuntu system use the following commands:
sudo apt-get remove qmail
To remove qmail package along with its dependencies
sudo apt-get remove --auto-remove qmail
After running this command there will be no qmail and its dependencies
Completely removing qmail with all configuration files:
So if you are sure that you want to remove all the configuration and want to remove it permanently then use this command
sudo apt-get purge qmail
or use this this command
sudo apt-get purge --auto-remove qmail
Finally, you must have learned how to install and remove qmail on your Ubuntu operating system. If you have been stucked or have any queries for the above methods feel free to comment below.