我正在使用官方 Digital Ocean 镜像提供的官方支持的 Discourse 安装。我已成功设置了一个站点(jordanviolet.dev),目前正在设置第二个站点(violetfamily.com)。
- 域名通过 Google Domains 注册,但名称服务器托管在 Digital Ocean。
- 两者都使用各自的域名邮箱,即 Google Workspace 账户(分别为 @jordanviolet.dev 和 @violetfamily.com)。
- 两者在 Google Workspace、域名等方面都已 110% 配置妥当。我已经检查了不下二十遍。
jordanviolet.dev 设置顺利并成功发送了邮件!
violetfamily.com 出现了邮件错误,我按照此指南(jordanviolet.dev 也成功使用了此指南)允许了不安全应用程序,从而解决了该问题:
它发送了一封邮件,但注册已过期,之后就再也没有发送过邮件了。尽管当我运行 tail -f shared/standalone/log/rails/production.log 并尝试发送邮件时,日志中似乎显示 200 OK,但我收到的是:
Started HEAD "/" for 13.57.1.58 at 2024-05-18 18:39:43 +0000
Processing by FinishInstallationController#index as */*
Rendered finish_installation/index.html.erb within layouts/finish_installation (Duration: 0.9ms | Allocations: 187)
Rendered layout layouts/finish_installation.html.erb (Duration: 23.7ms | Allocations: 2771)
Completed 200 OK in 61ms (Views: 25.3ms | ActiveRecord: 0.0ms | Allocations: 8607)
Started GET "/" for 13.57.1.58 at 2024-05-18 18:39:43 +0000
Processing by FinishInstallationController#index as */*
Rendered finish_installation/index.html.erb within layouts/finish_installation (Duration: 0.6ms | Allocations: 187)
Rendered layout layouts/finish_installation.html.erb (Duration: 9.4ms | Allocations: 2575)
Completed 200 OK in 14ms (Views: 10.5ms | ActiveRecord: 0.0ms | Allocations: 3736)
我没有收到任何邮件。有什么建议吗?我觉得我已经穷尽了目前的选项。
