Key takeaways
- Run dig +short MX yourdomain.com before anything else.
- The correct answer is one line, 5 mta-gw.infomaniak.ch..
- Any other output points you to the fix below.
When mail for an Infomaniak domain does not arrive, the MX record is the first thing to check, and it is usually one of four faults: the record is missing, it points to the wrong host, there is more than one MX, or the change has not propagated yet. This guide matches each symptom to its cause and a check that confirms it.
Research checked: 2026-11-12
The short answer
Run `dig +short MX yourdomain.com` before anything else. The correct answer is one line, `5 mta-gw.infomaniak.ch.`. Any other output points you to the fix below. Infomaniak's MX target and priority are listed on its manage-MX page, and it warns that a different or multiple MX configuration cannot guarantee delivery (Infomaniak: Manage MX records).
Symptom, cause and fix
| Symptom | Likely cause | Check | Fix |
|---|---|---|---|
| `dig` returns nothing for MX | Record never published, or published at a subdomain | `dig +short MX yourdomain.com` empty | Add the MX at the root: host blank, value `mta-gw.infomaniak.ch`, priority `5` |
| MX shows an old provider's host | Previous MX still in the zone | Output names another provider | Delete the old MX records, keep only Infomaniak's |
| Two or more MX lines | Duplicate or leftover records | `dig` returns several lines | Keep one. Infomaniak says multiple MX configurations cannot guarantee correct delivery |
| Stored host becomes `mta-gw.infomaniak.ch.yourdomain.com` | DNS panel appended the domain to a value that was already full | `dig +short MX yourdomain.com` shows a hostname you did not enter | Enter the target as a full hostname with a trailing dot if your panel requires it, or use the panel's own format |
| Mail goes to the old server for hours | Resolvers still cache the old record | Query two public resolvers and compare | Wait up to 48 hours, as Infomaniak notes for DNS changes (Infomaniak: Link a domain name) |
| Domain on Infomaniak mail but record missing | Domain is registered or hosted in another Infomaniak organisation | Global Security does not show green for the domain | Move the domain into the same organisation, or add the record in its DNS zone (Infomaniak: Link a domain name) |
| Mail from a subdomain never arrives | The subdomain has no MX of its own | `dig +short MX sub.yourdomain.com` empty | Add the MX on the subdomain, or deliver to the root address instead |
Checks to run in order
- Read the record: `dig +short MX yourdomain.com`. Expect exactly `5 mta-gw.infomaniak.ch.`.
- Read the gateway: `dig +short A mta-gw.infomaniak.ch`. Expect an IP address. If this returns nothing, the problem is your resolver, not your record.
- Compare resolvers: `dig @8.8.8.8 +short MX yourdomain.com` and `dig @1.1.1.1 +short MX yourdomain.com`. Different answers mean propagation is still running.
- Test delivery: Send from an outside account to an address on the domain, then check the Infomaniak mailbox and the sender's bounce text.
Reading a bounce
A bounce that names the recipient domain and a 5xx code usually means the mailbox does not exist, which is an address problem. A bounce that names a host you do not recognise means the MX still points elsewhere. SMTP reply codes are defined in RFC 5321, and the enhanced status code in RFC 3463 gives the category. The fix for a host mismatch is the MX record, not the sender.
When the sender is the problem
A missing MX stops inbound mail. It does not affect outgoing mail, so if mail you send is failing, look at SPF, DKIM and DMARC, not the MX.
Check the local law that applies to your mail handling. This is not legal advice.