Exim4 authenticated smarthost
Now, edit the file
sudo nano /etc/exim4/passwd.client
...and add the line *:login:password to the file, substituting the correct email account login name for login and corresponding password. Most ISPs offer multiple email accounts so it may make sense security wise to create an account just for utility use such as this. If your Linux host is ever compromised you will be glad you had a seperate utility email account.
Create the file
sudo touch /etc/exim4/exim4.conf.localmacros
Then edit that file
sudo nano /etc/exim4/exim4.conf.localmacros
...add the line
AUTH_CLIENT_ALLOW_NOTLS_PASSWORDS = 1
Exim4 supports TLS security. Enabling TLS support involves
sudo apt-get install openssl
then
sudo /usr/share/doc/exim4-base/examples/exim-gencert
then
sudo nano /etc/exim4/exim4.conf.localmacros
to add the line
MAIN_TLS_ENABLE = 1
