Xcode Bots not sending email on success/failure

2020-07-16 08:25发布

问题:

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/