Xcode Bots not sending email on success/failure

白昼怎懂夜的黑 提交于 2019-12-06 02:32:59

问题


I setup Xcode Bots, which is working successfully. However, despite setting email addresses to get notified when a build is successful or it fails, I do not receive any emails. Is there any additional SMTP setup I need to do hidden somewhere?


回答1:


You probably need to configure the Mac OSX Server for sending e-mail.

The local server is located in the Server application under "Mail" in the left sidebar.

I recently changed to using Amazon SES and had to edit the Postfix SASL configuration manually. Edit SASL password file, run postmap, enable SASL/TLS in main.cf configuration file and finally restart Postfix.

This detailed description by Rojas helped me:

http://benjaminrojas.net/configuring-postfix-to-send-mail-from-mac-os-x-mountain-lion/




回答2:


I recently was tasked with doing the same thing, setting up OSX Server for sending e-mail. What worked for me was setting up the postfix configuration manually as well but the link in the previous answer wasn't effective for me. what was effective was following this tutorial

http://blog.anupamsg.me/2012/02/14/enabling-postfix-for-outbound-relay-via-gmail-on-os-x-lion-11/

and there's also a follow up that shows details to what needs to change to get it to work on Mavericks and newer http://blog.anupamsg.me/2013/12/22/enabling-postfix-on-osx-as-a-relay-revisited/



来源:https://stackoverflow.com/questions/20183093/xcode-bots-not-sending-email-on-success-failure

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!