Google Apps + Mailgun拆分交付

时间:2015-09-08 14:37:47

标签: gmail google-apps mailgun

这是前一段时间Server Fault上提出的一个问题,但从未真正回答。

我试图遵循多个指南,但是,每次我测试它都会得到

The error that the other server returned was: 550 5.7.1 Relaying denied

有没有人对使用Mailgun实现Google Apps的拆分交付有任何建议?

1 个答案:

答案 0 :(得分:2)

我这样做的方法是设置一个子域,将mx记录设置为指向mailgun,然后在主域上,我想要发送到mailgun的任何地址我设置转发到子域

所以说我想让website@example.com去邮件,我把它设置为转发到website@mailgun.example.com

如果这对您正在做的事情很重要,您只需要确保您的代码在@field.com中将@ mailgun.example.com与@ example.com交换出来

希望有所帮助