Monday, November 13, 2017

SSMTP and Authenticated SMTP

Related to my previous post, this page has an excellent (and short) write up of how to deal with Comcast (or any other authenticated SMTP provider) email forwarding, using a smarthost.

As recommended, I installed ssmtp (and mailx) onto Raspbian with the following:
sudo apt-get install ssmtp sudo apt-get install bsd-mailx
I edited /etc/ssmtp/ssmtp.conf, to include the following settings:
# comcast
mailhub=smtp.comcast.net:587
UseSTARTTLS=YES
UseTLS=YES
AuthUser=<username>@comcast.net
AuthPass=<plaintext password>
rewritedomain=<fqdn>
FromLineOverride=YES
hostname=<hostname + fqdn>
This was a heck of a lot easier than the alternatives, using exim4, that are documented in other places.

No comments:

Post a Comment