While working on a clients Ubuntu Linux computer I needed to send some of the logs to myself so I could analyze them at a later date but there was not an SMTP server installed on the computer. This can be resolved by installing the Exim MTA (Mail Transfer Agent) using the below apt-get command which is actually stated fairly clearly in the output of attempting to use the mail command from the Ubuntu CLI as shown below. The initial attempt at using the mail command as well as the output from apt-get is displayed in the below example output.
While working on a clients computer yesterday I needed to send some of the logs from the computer to myself so I could analyze later on my computer. At first I had to install the Exim MTA which I will write an article on in the near future but once installed mail was still not being received. You won’t actually receive an error from the CLI when attempting to use the mail command from the CLI however after investigating the Exim logs located in /var/log/exim/ the below error was observed and resolving the issue was completed using the steps below.