我已在新的 VPS 上安装了 Discourse,但无法完成验证和登录。
我一直参考的是
根据我的观察,问题似乎出在 Discourse 不认可邮件服务器的 SSL 主机名。该服务器配置为 mail.posklip.co.za。由于这是一台共享服务器,服务器主机名与邮件主机名不同。有人知道 Discourse 在报告此错误时期望的是什么吗?我是否应该将 Discourse 配置为使用主服务器名称?
目前我已检查的其他事项
邮件服务器设置
我的邮件服务器已配置并在生产环境中作为共享托管服务器正常运行。DKIM、SSL 和 SPF 均已设置。我还将新服务器的 IP 地址添加到了我的 SPF 配置中。
SSL 测试 (https://ssl-tools.net/mailservers/mail.posklip.co.za)
生产日志
root@29:/var/discourse# tail shared/standalone/log/rails/production.log
Rendering layouts/email_template.html.erb
Rendered layouts/email_template.html.erb (Duration: 0.1ms | Allocations: 32)
Delivered mail 6b773c78-face-4a27-bfcb-86f8c47a0790@gesels.posklip.co.za (413.3ms)
Job exception: hostname "mail.posklip.co.za" does not match the server certificate
Rendering layouts/email_template.html.erb
Rendered layouts/email_template.html.erb (Duration: 0.1ms | Allocations: 32)
Delivered mail 78e71b52-903e-4a55-a122-dde6d3ab87ad@gesels.posklip.co.za (366.5ms)
Job exception: hostname "mail.posklip.co.za" does not match the server certificate

