Exchange 365和Apple Mail服务器中继

我正在使用Exchange 365云端邮件服务和Apple Server 10.9.1(小牛)。 现在我想将我的苹果服务器后缀连接到Exchange SMTP中继(在维基更新和其他奇特的事情时获取通知)。 问题是Exchange不允许使用dynamicIP为域configurationSMTP中继(在我的情况下是appleserver.local)。 有没有其他解决scheme来实现这一点? 我的后缀应该只发送电子邮件到内部电子邮件地址。

任何帮助,欢迎!

Postfix错误日志

postfix/postmap[17226]: fatal: open database /Library/Server/Mail/Config/postfix/sasl_passwd.db: Permission denied May 14 18:50:58 appleserver.local postfix/pickup[14110]: 05635D9A12: uid=94 from=<[email protected]> May 14 18:50:58 appleserver.local postfix/cleanup[14875]: 05635D9A12: message-id=<[email protected]> May 14 18:50:58 appleserver.local postfix/qmgr[14111]: 05635D9A12: from=<[email protected]>, size=382120, nrcpt=1 (queue active) May 14 18:50:58 appleserver.local postfix/smtpd[14881]: connect from localhost[127.0.0.1] May 14 18:50:58 appleserver.local postfix/smtpd[14881]: warning: Illegal address syntax from localhost[127.0.0.1] in MAIL command: <[email protected]> May 14 18:50:58 appleserver.local postfix/smtp[14879]: 05635D9A12: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.98, delays=0.09/0.03/0.01/0.86, dsn=5.1.7, status=bounced (host 127.0.0.1[127.0.0.1] said: 501 5.1.7 id=13401-01 - Rejected by next-hop MTA on relaying, from MTA(smtp:[127.0.0.1]:10025): 501 5.1.7 Bad sender address syntax (in reply to end of DATA command)) May 14 18:50:58 appleserver.local postfix/cleanup[14875]: F1CBBD9A32: message-id=<[email protected]> May 14 18:50:58 appleserver.local postfix/qmgr[14111]: F1CBBD9A32: from=<>, size=2567, nrcpt=1 (queue active) May 14 18:50:58 appleserver.local postfix/bounce[14882]: 05635D9A12: sender non-delivery notification: F1CBBD9A32 May 14 18:50:58 appleserver.local postfix/qmgr[14111]: 05635D9A12: removed May 14 18:50:59 appleserver.local postfix/error[14883]: F1CBBD9A32: to=<[email protected]>, relay=none, delay=0.02, delays=0/0.01/0/0, dsn=5.1.3, status=bounced (bad address syntax) 

你正在关注哪个知识库文章? 如果您要发送电子邮件的内部O365用户有一个从内部的“应用程序服务器”中继的话: http ://technet.microsoft.com/en-us/library/dn554323%28v=exchg.150%29.aspx

使用“直接发送”方法。

另一个替代scheme,我通常实现的一个方法是在内部Windows服务器上部署hMailServer (谷歌,它是免费的)。 然后我设置SMTP中继通过Office 365发送电子邮件。

但是,如果您只想发送电子邮件到O365上托pipe的内部电子邮件地址,那么直接发送方法效果很好,不需要任何中继设置。 只要发送电子邮件的源地址是一个真正的@ yourdomain.com地址,它会工作得很好……但是如果dynamic的话,你可能需要添加你的邮件服务器的外部IP或IP范围,以便它不会不会将电子邮件分类为垃圾邮件(在O365pipe理交换平台中)