extsmail command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
extsmail: command not found
or when using sudo you get the following error message
sudo: extsmail: command not found
Solutions to extsmail: command not found
How To Fix extsmail: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu extsmail is provided by extsmail package.
extsmail is:
extsmail masquerades as the standard UNIX sendmail program, reading messages, and later piping them to user-defined commands.
In a sense, extsmail can be thought of as a very simple “tiny” sendmail (Think SSMTP, UUCP, …)
A typical use is to allow e-mail to be piped via ssh to external servers running a full sendmail-compatible MTA. extsmail is designed to have sensible defaults, and configuring it is a one-off, quick job.
To fix this problem, we can install more using the command below.
sudo apt-get -y install extsmail
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install extsmail.
sudo apt -y install extsmail
Or if you have aptitude installed you can use the following command.
sudo aptitude install extsmail
Summary
In this tutorial we learn how to fix extsmail command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.