您的位置:首页 > 其它

Phabricator实践(2):配置——邮件服务

2013-04-15 00:05 246 查看
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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: