新安装中出现邮件错误

大家好
我的邮件设置出现了一个错误。

  DISCOURSE_SMTP_ADDRESS: smtp.strato.de
  DISCOURSE_SMTP_PORT: 465
  DISCOURSE_SMTP_USER_NAME: discourse@domain.net
  DISCOURSE_SMTP_PASSWORD: REDACTED_PASSWORD
  # DISCOURSE_SMTP_ENABLE_START_TLS: true          # (optional, default true)
  #DISCOURSE_SMTP_DOMAIN: discourse.example.com    # (required by some providers)
  #DISCOURSE_NOTIFICATION_EMAIL: noreply@discourse.example.com    # (address to send notifications from)

使用 docker-doctor 时,我得到:


==================== MAIL TEST ====================
For a robust test, get an address from http://www.mail-tester.com/
Or just send a test message to yourself.
Email address for mail test? ('n' to skip) [admin.discourse@domain.net]: test-dj0qyymtu@srv1.mail-tester.com
Sending mail to test-dj0qyymtu@srv1.mail-tester.com. . .
Testing sending to test-dj0qyymtu@srv1.mail-tester.com using smtp.strato.de:465, username:discourse@domain.net with plain auth.
======================================== ERROR ========================================
                                    UNEXPECTED ERROR

Net::ReadTimeout

====================================== SOLUTION =======================================
This is not a common error. No recommended solution exists!

Please report the exact error message above to https://meta.discourse.org/
(And a solution, if you find one!)
=======================================================================================
Replacing: SMTP_PASSWORD
Replacing: LETSENCRYPT_ACCOUNT_EMAIL
Replacing: DEVELOPER_EMAILS
Replacing: DISCOURSE_DB_PASSWORD
Replacing: Sending mail to

希望有人能帮帮我。我非常喜欢这个产品,并希望为我的社区使用它 <3

也许我需要更改 SMTP 身份验证的身份验证方式。但我该如何操作呢?我找不到相关的帖子来解答这个问题。

有人能帮帮我吗?

您可以尝试的几件事

  • 检查您的提供商是否允许使用不同的端口,看看您是否遇到相同的错误
  • 如果您知道如何使用 curl,请尝试直接从 docker 容器内 curl 您的邮件设置
  • 完全使用不同的邮件提供商,Mailgun 以与 Discourse 良好协作而闻名

看起来您的虚拟机正在阻止访问您的邮件服务器