Can't recieve incoming mail with Mailgun

不羁的心 提交于 2019-12-23 12:37:50

问题


I'm trying to set up inbound mail with mailgun. I want to receive email at support@mydomain.com. (changed for privacy)

  • All Mailgun's DNS checks pass.
  • I have a route set up. The expression is match_recipient("support@mydomain.com") and the action is forward("me@gmail.com")
  • When I use the route testing tool it correctly matches my route.

But when I send email in real life to support@mydomain.com, I get a failure notice. The error message is:

Your message cannot be delivered to the following recipients: 

Recipient address: support@mydomain.com 
Reason: Remote SMTP server has rejected address 
Diagnostic code: smtp;550 5.7.1 Relaying denied 
Remote system: dns;mxb.mailgun.org (TCP|17.172.80.96|58312|52.5.239.85|25) (ak47 ESMTP ready)

What step am I missing here?


回答1:


I know this is over a year old, but since I spent 4 hours trying to figure this out, I will share my solution: My mailgun account wasn't verified. I saw someone suggest this but I figured they just meant that I had to verify the address I was forwarding to. Nope, when I logged it today I saw a banner at the top saying click here to resend your verification email. I did that, it went through a text message verification process, and all immediately started working!



来源:https://stackoverflow.com/questions/41293007/cant-recieve-incoming-mail-with-mailgun

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!