{"id":1802,"date":"2023-05-16T15:34:48","date_gmt":"2023-05-16T19:34:48","guid":{"rendered":"https:\/\/www.devolve.net\/?p=1802"},"modified":"2023-05-16T15:40:04","modified_gmt":"2023-05-16T19:40:04","slug":"using-ssmtp-to-send-to-tcp-587","status":"publish","type":"post","link":"https:\/\/www.devolve.local\/using-ssmtp-to-send-to-tcp-587\/","title":{"rendered":"Using sSMTP to send to tcp\/587"},"content":{"rendered":"

Nearly all the info online is wrong.<\/p>\n

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

If you are relaying to a mail server on port 587, then your ssmtp.conf file should NOT have the line UseTLS=YES<\/strong>. It should<\/em> have UseSTARTTLS=YES<\/strong>. If you are sending to port 465, then you would want the UseTLS=YES<\/strong> line.<\/p>\n","protected":false},"excerpt":{"rendered":"

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.<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[6],"tags":[16,17,26],"_links":{"self":[{"href":"https:\/\/www.devolve.local\/wp-json\/wp\/v2\/posts\/1802"}],"collection":[{"href":"https:\/\/www.devolve.local\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devolve.local\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devolve.local\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devolve.local\/wp-json\/wp\/v2\/comments?post=1802"}],"version-history":[{"count":4,"href":"https:\/\/www.devolve.local\/wp-json\/wp\/v2\/posts\/1802\/revisions"}],"predecessor-version":[{"id":1806,"href":"https:\/\/www.devolve.local\/wp-json\/wp\/v2\/posts\/1802\/revisions\/1806"}],"wp:attachment":[{"href":"https:\/\/www.devolve.local\/wp-json\/wp\/v2\/media?parent=1802"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devolve.local\/wp-json\/wp\/v2\/categories?post=1802"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devolve.local\/wp-json\/wp\/v2\/tags?post=1802"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}