我仔细阅读了此链接 Email delivery configuration checklist 及后续的邮件指南。
我研究了此链接 https://meta.discourse.org/t/how-to-setup-reply-by-email-address-now-that-it-must-be-different-from-the-notification-email/126767,以及这个 https://meta.discourse.org/t/notification-email-cannot-be-the-same-as-reply-by-email/28840。
我在论坛上使用的所有地址都可以通过邮件客户端(如 Thunderbird 或 Claws Mail)发送或接收邮件。
有四个不同的地址,只有前三个与此主题相关:
- app.yml 中的管理地址:admin@
- app.yml 中的通知地址:forum@
- reply-to 地址:reply@
- 以及邮件发布地址:questions@
-
通过论坛邮件列表状态收到的通知发送正常。并且 admin/email/server-settings 页面上的发送测试也通过了。
-
如果我设置了邮件回复功能,该功能可以正常运行,但通知功能却停止工作了。
先前的发送测试会失败,状态显示为“501 5.5.4 You are not allowed to send from this address.”(您不允许从该地址发送。) -
如果我禁用邮件回复功能,测试会再次正常通过。
谁能向我解释为什么会出现这个错误,以及如何正确地同时设置通知和“邮件回复”功能?