Key takeaways
- Publish one MX record: host blank (the root of the domain), value mta-gw.infomaniak.ch, priority 5.
- Remove any other MX records on that domain, because Infomaniak says it cannot guarantee correct delivery when a different or multiple MX records are configured (Infomaniak: Manage MX records).
- Infomaniak configures the MX record automatically when the domain and the Mail service are created in the same organisation.
To receive mail for a domain on Infomaniak, the domain needs one MX record pointing to Infomaniak's mail gateway, `mta-gw.infomaniak.ch`, at priority 5, on the root of the domain. If the domain and the Mail service are in the same Infomaniak organisation, the record is usually created for you. This guide covers the manual steps and how to check them.
Research checked: 2026-11-12
The short answer
Publish one MX record: host blank (the root of the domain), value `mta-gw.infomaniak.ch`, priority `5`. Remove any other MX records on that domain, because Infomaniak says it cannot guarantee correct delivery when a different or multiple MX records are configured (Infomaniak: Manage MX records).
Step 1: check whether Infomaniak already manages the record
Infomaniak configures the MX record automatically when the domain and the Mail service are created in the same organisation. Linking a domain registered elsewhere, or hosted on external DNS, needs the records added in that DNS zone. Its guide lists the cases: a domain in another organisation, a domain on external DNS, or a domain registered elsewhere, which you transfer or order new (Infomaniak: Link a domain name to the Mail service).
Step 2: add the MX record
If the domain's DNS is at Infomaniak, open the domain in the Manager, go to DNS Zone and add an MX record. If DNS is elsewhere, add the same record at that provider. The values, from Infomaniak's manage page:
| Field | Value |
|---|---|
| Host (name) | blank, which applies the record to the main domain |
| Target (server) | `mta-gw.infomaniak.ch` |
| Priority | `5` |
Leave the TTL at the default unless your DNS host requires a value. Save the record, then reopen it and confirm the target and priority were stored as you entered them. Some DNS hosts append the domain automatically, so check the stored name does not end up as `example.com.example.com`.
Step 3: check the record
Use `dig` to read the MX record, then confirm the mail gateway name resolves:
``` dig +short MX example.com dig +short A mta-gw.infomaniak.ch ```
The first command should return `5 mta-gw.infomaniak.ch.` and nothing else. The second returns an IP address for the gateway. Allow up to 48 hours for propagation (Infomaniak: Link a domain name to the Mail service).
Then send a test message from an outside account to an address on the domain, and confirm it arrives in the Infomaniak mailbox. Run the lookup from a second network, such as a phone's mobile connection, because an office or home resolver may still hold the old answer after your own machine has the new one.
If the domain already receives mail elsewhere
Before you change anything, record the current MX values with `dig +short MX example.com` and note the TTL of the old record. A long TTL means resolvers keep the old answer for longer, so expect the switch to take that long to complete. Keep the old mailbox running for several days after the change, because mail sent during propagation can still arrive there. If inbound mail stops after the change, restore the values you recorded and wait for propagation. Do not delete the Infomaniak mailbox while you do this.
Note on conflicting values
Third-party guides online differ on the gateway host and priority. One guide lists `mta.infomaniak.ch` at priority 10 (infoswitch.fr). The value shown in your own Manager, under the Mail service, is the one to use. If the two disagree, follow the Manager and check with Infomaniak support before publishing.