Setting up SSMTP on Ubuntu with Gmail

The procedure for setting up SSMTP on Ubuntu is fairly well documented on the Ubuntu wiki, but the only amendment I’d make would be to change the hostname to localhost.

On Ubuntu wiki but fails to send emails:

Amendment that works:


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.