I use SSMTP on many of our servers. As of June 6th 2019 I can no longer get SSMTP on any of my ubuntu servers to send email. I have some raspberry pies using the same scripts and they send just fine. On site and offsite using different Google domain names stopped sending, so its not tied to one specific Google apps domain. Nor is it tied to a specific network. All systems are running 18.10. Other things using this same account, send fine, through Ubuntu. PHP mailings for example.
It also does not matter what user I try to use within each Google domain. I can use SSMTP with a yahoo user and that sends from Ubuntu.
When I do ssmtp with -v on a linux box I see:
[<-] 220 smtp.gmail.com ESMTP b6sm3003334iok.71 - gsmtp
[->] EHLO munki.xxxxx.com
[<-] 250 SMTPUTF8
[->] STARTTLS
[<-] 220 2.0.0 Ready to start TLS
[->] EHLO munki.xxxxx.com
[<-]
ssmtp: (munki.xxxxx.com)
When I do the same on a pi I see:
[<-] 220 smtp.gmail.com ESMTP w23sm3846674iod.12 - gsmtp
[->] EHLO upsd-c03.xxxxx.com
[<-] 250 SMTPUTF8
[->] STARTTLS
[<-] 220 2.0.0 Ready to start TLS
[->] EHLO upsd-c03.xxxxx.com
[<-] 250 SMTPUTF8
[->] AUTH LOGIN
[<-] 334 Vjjl;hbWU6
[->] bmFnaW9zQG5XJzLm9yZw==
[<-] 334 UGFzc3dvcmQ6
[<-] 235 2.7.0 Accepted
[->] MAIL FROM:<[email protected]>
[<-] 250 2.1.0 OK w23sm38674iod.12 - gsmtp
[->] RCPT TO:<[email protected]>
[<-] 250 2.1.5 OK w23sm38674iod.12 - gsmtp
[->] DATA
[<-] 354 Go ahead w23sm3874iod.12 - gsmtp
[->] Received: by upsd-c03.xxxxx.com (sSMTP sendmail emulation); Fri, 14 Jun 2019 16:59:33 -0500
[->] From: "root" <[email protected]>
[->] Date: Fri, 14 Jun 2019 16:59:33 -0500
[->] test
[->]
[->] .
[<-] 250 2.0.0 OK 1560549575 w23sm3846iod.12 - gsmtp
[->] QUIT
[<-] 221 2.0.0 closing connection w23sm3846iod.12 - gsmtp
Just wondering if anyone else using Google to send email with SSMTP has seen the same behavior? I haven't tested an 18.04 or 19.04.
Thank you!!
Jim
0 Answers