1. 發郵件配置(Outbound Email)
官方文檔位置:http://www.phabricator.com/docs/phabricator/article/Configuring_Outbound_Email.html
(1)SMTP發送郵件(使用公司的Exchange服務)
Step1:配置Mail Adapters為“PhabricatorMailImplementationPHPMailerAdapter”
Step2:配置PHPMailer
備注:
我首次也是嘗試使用SMTP發送郵件,但是無法發送郵件(SMTP配置肯定沒有問題)。
MetaMTA顯示“Message has no valid recipients: all To/CC are disabled or configured not to receive this mail.”
后來又嘗試使用Sendmail方式發送郵件,經過一番配置CentOS上的sendmail,最后終於可以發送郵件了。(sendmail的郵件發送速度比較慢,估計需要做相應配置,因為時間原因沒有嘗試)
后來,一次偶然的機會,重新切換成SMTP。這次竟然可以正常發送郵件。
所以我猜測,“PhabricatorMailImplementationPHPMailerAdapter”方式發郵件仍然和系統的sendMail有關,也需要對sendmail做相應配置。
因為時間原因,沒有驗證過這點猜想。(看到這篇Blog的朋友,如果有結論,順便告訴我下:))
關於此問題的追蹤,可以查看:https://github.com/facebook/phabricator/issues/300
2. 收郵件配置(Inbound Email)
官方文檔位置:http://www.phabricator.com/docs/phabricator/article/Configuring_Inbound_Email.html