Key takeaways
- If it does not contain include:spf.infomaniak.ch, the Infomaniak include is missing or published at the wrong name.
- If it does contain it, look for a second v=spf1 record, count the lookups, and check the qualifier on the end.
- Infomaniak notes that DNS changes "may take up to 48 hours to propagate," so re-query after waiting before you change the record again.
When SPF fails for Infomaniak mail, the cause is almost always in the TXT record itself: a missing include, a second SPF record, too many lookups, or a `-all` that rejects a sender you forgot. This guide gives a symptom table with the `dig` check for each cause. The record syntax comes from Infomaniak's email service FAQ and the evaluation limits from RFC 7208.
Research checked: 12 November 2026
The short answer
Query the apex TXT record first. If it does not contain `include:spf.infomaniak.ch`, the Infomaniak include is missing or published at the wrong name. If it does contain it, look for a second `v=spf1` record, count the lookups, and check the qualifier on the end. Infomaniak notes that DNS changes "may take up to 48 hours to propagate," so re-query after waiting before you change the record again.
Symptoms, causes and checks
| Symptom | Likely cause | Check | Fix |
|---|---|---|---|
| SPF `fail` on Infomaniak mail | Infomaniak include missing | `dig +short TXT example.com` | Add `include:spf.infomaniak.ch` to the existing record |
| SPF `fail` after a recent edit | Change not yet propagated, or edited the wrong record | Re-query after waiting; confirm the name is the apex | Correct the record and wait out the propagation window |
| Two SPF records on the domain | Old record left alongside a new one | `dig +short TXT example.com` and look for two `v=spf1` lines | Merge into one record and delete the other |
| `permerror` in headers | Record over the 10-lookup limit | Count every include and `a`, `mx`, `exists` mechanism, including nested ones | Remove unused includes or flatten where your provider allows |
| Google Workspace mail fails SPF | `include:_spf.google.com` missing | Read `Authentication-Results` from a Google-sent message | Add the include before the closing mechanism |
| Legitimate sender fails | Sender missing from the record, and the record ends in `-all` | Identify the sending service from the headers | Add its include, or move to `~all` while you find it |
| Mail passes SPF but still fails DMARC | SPF domain does not align with the From domain | Compare `smtp.mailfrom` or `envelope-from` with the From header | Align the sending domain, or rely on DKIM alignment |
The checks, with expected output
``` dig +short TXT example.com ```
A healthy result has one line that starts with `v=spf1` and contains `include:spf.infomaniak.ch`. If you see two lines starting with `v=spf1`, that is the fault to fix first.
Read the header of a message you received, and look for the SPF result:
``` Authentication-Results: ... spf=pass ... ```
`spf=pass` means the sending server is authorised. `spf=fail` names a server that is not in the record. `permerror` points to a syntax or lookup-limit fault.
Worked example
A team sends from `example.com` through Infomaniak and sees SPF failures on some Google-sent mail. Its DMARC policy is `p=reject`. The `dig` output shows only `v=spf1 include:spf.infomaniak.ch -all`. The header from a failing Google message shows `spf=fail`. The fix is the Infomaniak FAQ's after-value, `v=spf1 include:spf.infomaniak.ch include:_spf.google.com -all`. After publishing and waiting, a new test message shows `spf=pass`, and the failures stop.
Escalation checklist
Before you contact Infomaniak support or your DNS host, collect:
- The full output of `dig +short TXT example.com`, with the time you ran it.
- One full `Authentication-Results` header from a failing message.
- The list of services that send as the domain.
- The date you last changed the record.
Save the working record before each change. If an edit causes failures, you can restore the last known good value within minutes rather than rebuilding it from memory. Pair every change with a test message, because a `dig` result shows only what is published, not whether each sender now passes.