postal icon indicating copy to clipboard operation
postal copied to clipboard

Mail delivery failed: returning message to sender

Open lrqnet opened this issue 7 years ago • 8 comments

Hi, guys! I need some help here, please.

I create all the zone records for my postal installations and of the domains inside.

I also create Address Endpoint and the route for incoming messages to this Address Endpoint, but I can't receive any in these messages send.

For example, sending e-mail from my personal account, I received this response:

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

  [email protected]
    The mail server could not deliver mail to [email protected].  The account or domain may not exist, they may be blacklisted, or missing the proper dns entries.

Again, all zone dns data is OK, but I can't receive any messages on postal.

Any help, please?

lrqnet avatar Mar 16 '19 02:03 lrqnet

That error message usually implies that you do not have MX records for my.postal.com. Can you double check you have them?

willpower232 avatar Mar 18 '19 13:03 willpower232

Yes, I have:

My config. on postal is ok: image

My config. on cloudflare too: image

And on whois: image

lrqnet avatar Mar 18 '19 15:03 lrqnet

Can you telnet to port 25 on mx.r1.whatever?

willpower232 avatar Mar 18 '19 16:03 willpower232

My port 25 is fine. Without any block, I can send emails but I can't receive. What can be in this case?

lrqnet avatar Mar 18 '19 17:03 lrqnet

@willpower232 any help please?

lrqnet avatar Mar 19 '19 21:03 lrqnet

There has to be a problem with your setup, either from a connection perspective or a server issue.

If you have MX records for your domain (you can verify with whatsmydns.net) and you can telnet from your computer to port 25 on your Postal server then you will have to look at your Postal logs to see if there are any errors.

willpower232 avatar Mar 20 '19 09:03 willpower232

Can you show me what a 100% DNS setup would look like? A template? Because I've followed all the steps of all Wikis several times and I'm sure I did not pass on any information.

All logs do not contain any errors, just the connection and send reports when I fire some email.

The sends and all other settings are perfect, I just can not receive any email.

I'm not talking about receiving in my destination inbox. I say when I send an email from Gmail for example, to an email registered inside the postal.

lrqnet avatar Mar 23 '19 18:03 lrqnet

What you've shown us looks fine so far.

You should be able to run nslookup mx.r1.whatever on your computer and get an IP address. You should also be able to get the same IP address from entering mx.r1.whatever in whatsmydns.net.

You should be able to telnet that IP address on port 25 from your computer (not your Postal server) and see some responses from Postal.

willpower232 avatar Mar 25 '19 10:03 willpower232