It/Software/System Config/SSMTP
SSMTP is a mail client for Linux that provides the sendmail command and is compatible with SSL/TLS.
Installation and setup
To install, run
sudo apt install ssmtp
To setup, modify the /etc/ssmtp/ssmtp.conf file:
# # Config file for sSMTP sendmail # # The person who gets all mail for userids < 1000 # Make this empty to disable rewriting. root=donotreply@msgeducation.com # The place where the mail goes. The actual machine name is required no # MX records are consulted. Commonly mailhosts are named mail.domain.com # mailhub=mail # Where will the mail seem to come from? #rewriteDomain= # The full hostname hostname=localhost # Are users allowed to set their own From: address? # YES - Allow the user to specify their own From: address # NO - Use the system generated From: address #FromLineOverride=YES mailhub=sl-507-7.slc.westdc.net:465 rewriteDomain=msgeducation.com AuthUser=donotreply@msgeducation.com AuthPass=account-password FromLineOverride=YES UseTLS=YES Debug=YES