简体   繁体   中英

Google Apps + Mailgun Split Delivery

This is a question that was asked a while ago on Server Fault , but was never really answered.

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?

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

so say I want website@example.com to go to mailgun, i set this to forward to 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

Hope that helps

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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