Koozali.org: home of the SME Server

Incoming mail rejected by Dynamic DNS service?!

Offline jarthurs

  • **
  • 29
  • +0/-0
Incoming mail rejected by Dynamic DNS service?!
« on: January 05, 2016, 10:57:26 PM »
I've been running my own SME 8.2 server and have a number of domains hosted on it, it's on a dynamic IP so I have a no-ip account (dynamicdns.no-ip.org) administered through the router (BT Home Hub 5). Mail has been working fine, however I recently set up a server for a friend and mail sent from his SME 9 server to mine is rejected with a message along the lines of.

<my public IP> does not like recipient username@dynamicdns.no-ip.org 550 Relay not permitted.

Now I've never seen mail rejected like this before, a message sent to username@mydomain.org.uk is being rejected as username@dynamicdns.no-ip.org surely the DNS redirect should be transparent?

I've now set dynamicdns.no-ip.org as a domain on my server and mail sent to username@mydomain.org.uk gets through fine, but mail sent to username@otherdomain.co.uk never appears on my server and the senders account never gets a failure message.

Can anyone shed any light on this?

Thanks,
Jason.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Incoming mail rejected by Dynamic DNS service?!
« Reply #1 on: January 06, 2016, 12:49:06 AM »
Now I've never seen mail rejected like this before, a message sent to username@mydomain.org.uk is being rejected as username@dynamicdns.no-ip.org surely the DNS redirect should be transparent?

But that is not a DNS redirect (which might be what you could call a CNAME), but that is an SMTP recipient re-writing, which is apparently being done by the MX for mydomain.org.uk.

Quote
I've now set dynamicdns.no-ip.org as a domain on my server and mail sent to username@mydomain.org.uk gets through fine

Good, you solved that problem.

Quote
but mail sent to username@otherdomain.co.uk never appears on my server and the senders account never gets a failure message.

So you need to check the DNS of otherdomain.co.uk, and then work out what is happening at whatever mail server is listed as an MX for that domain (or A record for the domain if there is no MX record).

As for the "no failure message", some mail servers no longer bother to provide those, or if they do, the failure messages aren't being delivered. We have a lot to thank spammers for :-(.