简体   繁体   English

端口 587 上的 GMail SMTP STARTTLS 不再有效

[英]GMail SMTP STARTTLS on Port 587 no longer works

My company has 4 different third party applications that use 4 different gmail addresses to send mail over port 587. One of the applications is distributed across over a hundred clients.我的公司有 4 个不同的第三方应用程序,它们使用 4 个不同的 gmail 地址通过端口 587 发送邮件。其中一个应用程序分布在一百多个客户端上。

All four apps stopped working last week.上周所有四个应用程序都停止了工作。 I've been struggling to figure this out with GSuite support for the past week and they have so far been very unhelpful.在过去的一周里,我一直在努力通过 GSuite 支持来解决这个问题,到目前为止,他们一直没有帮助。 One representative pointed to this recent update as the likely culprit: https://gsuiteupdates.googleblog.com/2020/04/improve-email-security-in-gmail-with-TLS.html一位代表指出最近的更新可能是罪魁祸首: https://gsuiteupdates.googleblog.com/2020/04/improve-email-security-in-gmail-with-TLS.html

But I don't have a ton of experience with mail servers and much of this is going over my head.但是我在邮件服务器方面没有丰富的经验,其中大部分都超出了我的想象。 I'm not sure why exactly the above update cause our apps to stop working.我不确定为什么上述更新会导致我们的应用程序停止工作。

The apps are failing to establish a TLS connection to the server and result in the following error:应用程序无法与服务器建立 TLS 连接并导致以下错误:

handshake failure
Closing connection in response to fatal SSL/TLS alert.    
Aborting handshake due to fatal alert

This comes after receiving a "Ready to start TLS" response from the smtp.gmail.com server.这是在收到来自 smtp.gmail.com 服务器的“准备启动 TLS”响应之后发生的。

All of the apps are using the Chilkat Mailman Active X component for the mail features.所有的应用程序都使用 Chilkat Mailman Active X 组件来实现邮件功能。 https://www.chilkatsoft.com/refdoc/xChilkatMailManRef.html https://www.chilkatsoft.com/refdoc/xChilkatMailManRef.html

Assuming the recent update is the actual culprit, I'm wondering if someone can explain why this caused our applications to stop working?假设最近的更新是真正的罪魁祸首,我想知道是否有人可以解释为什么这会导致我们的应用程序停止工作? Has GMail stopped supporting StartTLS? GMail 是否停止支持 StartTLS? I also need to know if there is anything we can do from our GSuite account to get this working again without having to update over a hundred client applications.我还需要知道我们是否可以从我们的 GSuite 帐户中做任何事情来让它再次工作,而无需更新超过一百个客户端应用程序。

The first support rep I spoke to suggested doing the following in the google admin console:我与之交谈的第一个支持代表建议在 google 管理控制台中执行以下操作:

Apps -> G Suite -> Settings for GMail -> Advanced Settings -> Secure transport (TLS) compliance:应用程序 -> G Suite -> GMail 的设置 -> 高级设置 -> 安全传输 (TLS) 合规性:

We unchecked the "Require CA-signed certificate" box and saved the setting.我们取消选中“需要 CA 签名证书”框并保存设置。 This has not resolved our problem.这并没有解决我们的问题。

在此处输入图像描述

The support rep also briefly mentioned the "Alternate Secure Route" setting in Gmail advanced settings, but I'm not sure if he knew what he was talking about or if this is applicable to our issue.支持代表还简要提到了 Gmail 高级设置中的“备用安全路由”设置,但我不确定他是否知道他在说什么,或者这是否适用于我们的问题。

Edit编辑

It looks like this is a combination of the GMail server update and some sort of incompatibility in the Chilkat mail component.看起来这是 GMail 服务器更新和 Chilkat 邮件组件中某种不兼容的组合。 I tried testing with a trial of a newer version of the component and SMTP works using the same settings with this component.我尝试使用该组件的较新版本进行测试,并且 SMTP 使用与此组件相同的设置工作。

The developer of the component says he is not able to help me with this issue unfortunately.该组件的开发人员说他无法帮助我解决这个问题。 So I'm still wondering why the GMail server update caused the old component to stop playing nicely.所以我仍然想知道为什么 GMail 服务器更新导致旧组件无法正常播放。 I'm hoping that if I can understand what the specific change is, I can find a solution that doesn't require a major rollout.我希望如果我能理解具体的变化是什么,我可以找到一个不需要大规模推出的解决方案。

My java mail client also just stopped working not long ago.我的 java 邮件客户端不久前也刚刚停止工作。 I was using TLS connection as well.我也在使用 TLS 连接。 I got authentication errors.我遇到了身份验证错误。

I look forward to your findings!我期待着你的发现!

-- I found my issue: https://myaccount.google.com/u/1/lesssecureapps was no longer less security -- 我发现我的问题: https://myaccount.google.com/u/1/lesssecureapps不再安全

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 smtp.gmail.com,端口:587 失败 - smtp.gmail.com, port: 587 fails 使用SMTP,Gmail和STARTTLS - Using SMTP, Gmail, and STARTTLS Android发送自定义电子邮件STARTTLS端口587 - Android send custom email STARTTLS port 587 无法连接到 SMTP 主机:smtp.gmail.com,端口:Windows Server 2016 上的 587 - Could not connect to SMTP host: smtp.gmail.com, port: 587 on windows server 2016 从Spring Boot拒绝连接到主机:smtp.gmail.com端口:587 - Connection refused to host: smtp.gmail.com port: 587 from Spring Boot 无法发送电子邮件 - 尝试连接到主机“smtp.mail.gmail.com”,端口 587,isSSL false - Unable to send email - trying to connect to host “smtp.mail.gmail.com”, port 587, isSSL false 无法连接到SMTP主机:smtp.gmail.com,port:587; 嵌套异常是:java.net.ConnectException:连接超时:连接 - Could not connect to SMTP host: smtp.gmail.com, port: 587; nested exception is: java.net.ConnectException: Connection timed out: connect 无法连接到smtp.gmail.com:587 - Failed to connect to smtp.gmail.com:587 将smtp端口从25改为587? - change smtp port from 25 to 587? com.sun.mail.util.MailConnectException:无法连接到主机,端口:smtp.gmail.com,587; 超时-1 - com.sun.mail.util.MailConnectException: Couldn't connect to host, port: smtp.gmail.com, 587; timeout -1
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM