Using sSMTP to send to tcp/587

Nearly all the info online is wrong.

May 16 14:14:36 xxxxx sSMTP[807358]: Unable to set TLS_CA_FILE=”/etc/ssl/certs/ca-certificates.crt”

If you are relaying to a mail server on port 587, then your ssmtp.conf file should NOT have the line UseTLS=YES. It should have UseSTARTTLS=YES. If you are sending to port 465, then you would want the UseTLS=YES line.

Using sSMTP to send to tcp/587 is original content from devolve.