Research and experiments
Sendavio Labs tests email authentication against reality: records published on real domains, read through public DNS, and compared with what a correct checker must say.
Method
- Publish a configuration on purpose under fx.sendaviolabs.com, with its expected results written down before it goes live.
- Read it through public DNS with the same engine Sendavio's customers use, and compare every expectation with what was observed.
- When reality and the expectation disagree, decide which one is wrong, fix it, and keep the specimen so it cannot regress.
Published specimens
| Specimen | Domain | Records | Expectations |
|---|---|---|---|
| FX-01: A correct baseline | valid.fx.sendaviolabs.com | 4 | 2 |
| FX-02: Nothing published | missing.fx.sendaviolabs.com | 1 | 2 |
| FX-03: Common mistakes | malformed.fx.sendaviolabs.com | 4 | 3 |
| FX-04: Several DKIM selectors | multi.fx.sendaviolabs.com | 5 | 4 |
| FX-05: Delegated DKIM by CNAME | cname.fx.sendaviolabs.com | 4 | 2 |
| FX-06: A 1024-bit key in testing mode | weak.fx.sendaviolabs.com | 2 | 2 |
| FX-07: DMARC inheritance | deep.inherit.fx.sendaviolabs.com | 1 | 1 |
| FX-08: Sending-service fingerprints | senders.fx.sendaviolabs.com | 3 | 3 |
Findings
1024-bit DKIM keys are not failures
When FX-06 was first published, its written expectation said a 1024-bit key should warn. The checker passed it, and the checker was right: RFC 8301 allows 1024 bits and some services offer nothing longer. The expectation was corrected; 2048 bits stays a recommendation where a provider offers it.
See FX-06DMARC inheritance skips intermediate names
A subdomain without its own record uses the organisational domain's policy. The lab publishes a name three labels deep to check that the policy is not taken from a name in between.
See FX-07Selector discovery is guided by SPF and MX
Trying generic selector names finds few keys. Reading SPF includes and MX hosts first, then trying each recognised service's names, finds keys from Google, Microsoft and Mailgun on the same domain within the lookup budget.
See FX-04CNAME chains must be followed to the key
Sending services delegate DKIM by CNAME. A checker that stops at the first answer reports a CNAME instead of a key. The lab publishes one and two hop chains to the same key.
See FX-05Duplicate DMARC records found a verification defect
A remediation scenario with duplicate DMARC records exposed a defect in how the fix engine verified its own change. The defect was fixed in the engine, and the scenario now guards against it.
Every remediation rule has a scenario
45 scenarios run Sendavio's checks, fix rules, provider writers and verification against simulated DNS hosts, so a change that breaks a promised fix fails before release.
The remediation scenarios run privately against simulated DNS hosts, because they exercise change permissions. Only their results are published here.