2

I am using mailgun to sent our emails. It works fine in most of cases but recently I get bounced with: 450 4.1.8 Sender address rejected: Domain not found

My setup is: xyz.com has mx setup for gmail.com devmail.xyz.com is used in mailgun - only for sending emails

devmail.xyz.com has spf records set but it does not have any MX records or A records.

Should I set A records for devmail.xyz.com ? If so what ip address it should forward it to?

Thanks

1 Answer 1

2

450 The error-message from the remote SMTP-server is most likely because they are verifying that there is an MX or A record for the domain given in the MAIL FROM: <> SMTP command.

If your From-adress is [email protected] you should add an A or MX record for that, preferably pointing it to some server that accepts mail for that domain.

3
  • from address is [email protected], but when I added A record for devmail.xyz.com it is working, but I do not like it because that A records pointing to the ip address that does not have anything to do with devmail.xyz.com -> there is no mail server for receiving mails (i do not receive emails for this subdomain at all) Apr 3, 2016 at 1:38
  • Are you sure that both the from-adress in the email and the envelope-from (used in the SMTP MAIL FROM-command) are [email protected]? I am pretty sure you are using the @devmail adress.
    – tlund
    Apr 3, 2016 at 1:40
  • not sure, mailgun shows in envelope: {sender: "[email protected]", ...} but what it sends in reality I do not know Apr 3, 2016 at 1:59

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .