如何解决Phabricator 不发送出站电子邮件
我已按照 this 指南在 phabricator 上设置了我的出站电子邮件。
但是,我的电子邮件没有到达。所有的电子邮件都在排队。当我转到 Phabricator UI 中的 daemons 时,我看到有几个任务失败了。他们都是这个样子。
Task 448: PhabricatorMetaMTAWorker
Task 448
Task StatusQueuedTask ClassPhabricatorMetaMTAWorkerLease StatusLeasedLease Owner13195:1624502950:mail.icicbcoin.com:11Lease Expires1 h,59 mDurationNot Completed
Data phabricator/ $ ./bin/mail show-outbound --id 154
Retries
Failure Count5Maximum Retries250Retries After1 m,2 m,4 m,6 m,8 m,11 m,14 m,17 m,20 m,23 m,27 m,...
我对这个数据部分很好奇。对我来说,这听起来像是 phabricator 无法运行这个命令,这很奇怪,因为如果我手动运行 ./bin/mail show-outbound --id 154
,我会得到这个:
ID: 154
Status: queued
Related PHID:
Message: fputs(): send of 28 bytes failed with errno=32 Broken pipe
PARAMETERS
sensitive: 1
mustEncrypt:
subject: [Phabricator] Welcome to Phabricator
to: ["PHID-USER-qezqlvc7rxton2lshjue"]
force: 1
HEADERS
TEXT BODY
Welcome to Phabricator!
admin (John Doe) has created an account for you.
Username: some.person
To log in to Phabricator,follow this link and set a password:
http://phabricator.innolabsolutions.rs/login/once/welcome/9/b2jf7j6mg5xomwjhmcfcxbigs7474jyq/10/
After you have set a password,you can log in to Phabricator in the future by going here:
http://phabricator.innolabsolutions.rs/
Love,Phabricator
HTML BODY
(This message has no HTML body.)
解决方法
实际上,问题出在 SMTP 服务器配置上,即使这个错误没有告诉我。我将 SMTP 端口从 465 更改为 587,重新启动了守护进程,它工作了。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。