I have set a bot with post integration "Periodic Email report" but no reports are arriving at specified email address. I have the following set-up on my local macbook pro. I also have the macOS Server 5.4 running locally

Mail Relay Setup

Bot Settings

XCode->Preferences->Server & Bots -> Mail

please note that my command line "mail" command is sending mail fine - it is only that Bot's Post Integration step from which no emails are arriving , please let me know how to troubleshoot and if there are any logs ?

  • I have exactly the same problem. Command line mail is sending email. But Xcode build server is not. Can't find any error or warning logs. @akishnani did you manage to solve the problem? – SKerkewitz Dec 1 '17 at 15:52

It turns out that a working mail is not enough. You also need mailq to work. See https://gist.github.com/kany/c44c077881047ead8faa for more.

Especially this part if your mailq does not work as it did for me: https://gist.github.com/kany/c44c077881047ead8faa#gistcomment-2254978

Also, you can set up postfix to do proper mail forwarding if you prefer that avenue:


Please find the answer here:


(I can't mark this post as duplicate as this is my first post on AskDifferent)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .