Non-authoritarian mode -> Inoperative relay

I have an MX Plan in non-authoritative mode for which I have two email addresses set up on OVH (that's the maximum for my plan) and other email addresses on another hosting, all defined on the same domain.

The non-authoritative mode allows exactly that. OVH even offers me this configuration in the plan:

So I set my MX as proposed:
image

Unfortunately, the emails I send to this domain, both the addresses defined on OVH and the others (on my other server) come back with this error:
[ovhmail-u3.ea.mail.ovh.net. 46.105.59.115: unable to read banner]

If I add a server with a lower priority (I tried mx4, for example), the OVH mails are received but the relay is not performed to my other server for the other addresses.

Has anyone had the same need and found a solution?

Thanks

Hi @luguen

The server ovhmail-u3.ea.mail.ovh.net appears to be an internal storage server, not an MX mail‑receiving server that should be pointed to directly from the outside. By setting it as the highest priority in your DNS zone, external servers try to deliver mail there, but that server isn’t configured to accept incoming connections in that way, hence the banner error…

When you add mx4.mail.ovh.net with a lower priority, mail for OVH addresses is received because that is a valid MX server. However, forwarding to the other server doesn’t work because OVH’s system doesn’t know it should forward those messages elsewhere; it simply rejects them because the account doesn’t exist on its platform.

What I would try:

  1. Remove the MX record that points to ovhmail‑u3.ea.mail.ovh.net.
  2. Configure OVH’s MX records pointing to mx0.mail.ovh.net, mx1.mail.ovh.net, mx2.mail.ovh.net and mx3.mail.ovh.net with their corresponding priorities … 1, 5, …
  3. Add an additional MX record (with a higher priority number, for example 50) that points to the mail server of your other hosting.

That way, when an email arrives:

  • If the address exists on OVH, it will be delivered to the mx*.mail.ovh.net servers.
  • If the address does not exist on OVH, OVH will reject the mail (with a 550 error), and the sending server will try the next MX on the list, which will be your other server.

Important: Make sure your other mail server is configured to accept mail for that domain.

Hope this helps,
Sergio Turpín

Thanks @sturpin ,

I tested your suggestion but I’m back to the configuration where I do receive the emails whose address is set on OVH, but not those directed to my other server.
The mx*.ovh.net servers apparently do not support relaying. So I have this configuration with the MX to my server set with priority 500.

The (non‑delivery) error is as follows:

Action: failed
Status: 5.7.54
Remote-MTA: dns; mxplan7.mail.ovh.net
Diagnostic-Code: smtp; 550 5.7.54 SMTP; Unable to relay recipient in
non-accepted domain

The mail is rejected as soon as the OVH server refuses with the 550 error as indicated.

For your information, I tested an email addressed directly to my server (via a Python script without going through OVH), and it works correctly.

Hello @luguen

Your MX configuration is correct, but OVH’s “non‑authoritative” mode has a fundamental limitation: it only works for forwarding mail between OVH services :face_with_diagonal_mouth:, not to external servers.

I can think of two possible scenarios:

  1. Configure your domain’s MX records to point only to your external server. Your external server will receive all mail and, if the address doesn’t exist there, it can forward it to OVH (or simply reject it if it doesn’t exist on either side).

  2. If you want OVH to remain the first entry point, you need OVH to know that it should forward mail for unknown addresses to your server. This is set up in the non‑authoritative mode, but you must specify the IP address or hostname of your external server as the “destination server” or “relay” in the domain settings on OVH, not just add an MX with priority 500.

    Take a look at this documentation:
    https://docs.ovhcloud.com/en/guides/web-cloud/email-and-collaborative-solutions/email-pro/first-config

    In the section "Understanding Authoritative and Non‑Authoritative Modes", it explains that when configuring non‑authoritative mode you need to tell OVHcloud which other mail service shares the domain.

    For this to work, your external server must authorize mail requests coming from the OVHcloud service. In other words, your mail server (the one at your other host) must be set up to accept mail from OVHcloud as a trusted relay. If it isn’t, OVHcloud will try to forward the mail, but your server will reject it.

I look forward to hearing from you, best regards :wink:
Sergio Turpín

Hello,

It’s indeed configuration 2 that interests me, with OVH remaining the entry point.
I have already properly set up my other server in the associated domains (second tab of MXPlan), where the server recommended by OVH appears (ovhmail-u3.ea.mail.ovh.net)

The result appears to be fine, by the way
image

It seems that this server (ovhmail-u3.ea.mail.ovh.net) is not working as it should. The others (mx*.mail.ovh.net) do not relay and reject mails directly if they are unknown.
My question therefore remains:

Which OVH server should I use to allow the relay of known mails to my other mail server?