ssl - Gmail 中的安全邮件导入(明文和 ssl 配置)

标签 ssl gmail mail-server plaintext dovecot

我已经使用 postfix (mysql)、dovecot 设置了我的邮件服务器,并使用 Let's encrypte 将 ssl 证书应用于 mail.example.com

我尝试通过导入帐户 user@domaine.tld 来使用 Gmail 获取我的邮件,我无法在选中 SSL 框的情况下执行此操作,所以我取消选中,但仍然出现错误,因为明文认证。

[AUTH] 在非安全 (SSL/TLS) 连接上不允许进行纯文本身份验证。

所以我修改了: /etc/dovecot/conf.d/10-auth.conf with disable_plaintext_auth = no /etc/dovecot/conf.d/10-ssl.confssl = required

我成功地收到了 Gmail 中的邮件,但我的问题是:它安全吗? 我不确定是否理解这一点:

ssl=yes and disable_plaintext_auth=no: SSL/TLS is offered to the client, but the client isn't required to use it. The client is allowed to login with plaintext authentication even when SSL/TLS isn't enabled on the connection. This is insecure, because the plaintext password is exposed to the internet.

密码是否加密传输(因为 SSL 配置)或未加密(因为明文配置)。

(来自:https://wiki.dovecot.org/SSL/DovecotConfiguration)

如果没有,我该如何保护它?或者让它对我和 Gmail 正常工作。

非常感谢

最佳答案

您的密码不会在未加密的情况下传输。如您所料,它受 TLS 加密保护。 ssl = required 强制使用 TLS。 disable_plaintext_auth=no 允许身份验证按原样发送密码, 加密连接中。这是大多数邮件服务器的事实标准。

如果您可行的话,我建议您使用 IMAP 而不是 POP3。

关于ssl - Gmail 中的安全邮件导入(明文和 ssl 配置),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53780020/

相关文章:

javascript - 在 gmail Ui 中添加小部件/控件,例如回旋镖/条纹

node.js - Nodemailer 与 Gmail 发生环回错误 - 对象 #<Object> 没有方法 'getToken'

mail-server - "Error: message file too big"发端或收端有限制吗?

python - 来自 amavisd-new-cronjob sa-sync 的错误

即使在 web.config 之后,Azure Web 应用程序也不会将 http 重定向到 https

postgresql - 准备在 2020 年更新 AWS RDS 公共(public)证书(Postgres)

ios - TiWebView : Submitting data to a self signed https URL from a local html file on iOS cause error

javascript - 如何使用 getElementsByClassName 函数来获取 Gmail 撰写页面中的 "send"按钮?

c# - 通过 C# Mailkit/Mimekit 发送电子邮件但出现服务器证书错误

linux - 后缀和数据库