简体   繁体   English

Google Apps + Mailgun拆分递送

[英]Google Apps + Mailgun Split Delivery

This is a question that was asked a while ago on Server Fault , but was never really answered. 这是前不久在Server Fault上提出的一个问题,但从未得到真正的回答。

I have attempted to follow multiple guides, however, every single time I test it out I get 我尝试遵循多种指南,但是,每次进行测试时,都会得到

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

Does anyone have any advice on using Mailgun to achieve split delivery for Google Apps? 有没有人对使用Mailgun实现Google Apps的拆分交付有任何建议?

The way I do it, is setup a subdomain that has the mx records set to point at mailgun, then on the main domain, any addresses I want to go to mailgun I setup to forward to the subdomain 我这样做的方法是,设置一个子域,该域的mx记录设置为指向mailgun,然后在主域中,我要转到mailgun的任何地址我都设置为转发到该子域

so say I want website@example.com to go to mailgun, i set this to forward to website@mailgun.example.com 所以说我要website@example.com转到mailgun,我将其设置为转发到website@mailgun.example.com

You just need to make sure your code swaps out @mailgun.example.com with @example.com in the to fields if that matters to what you are doing 您只要确保您的代码对您的工作很重要,就可以在to字段中将代码替换为@ mailgun.example.com和@ example.com。

Hope that helps 希望能有所帮助

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM