Skip to content

Home Topics Email Authentication MTA-STS and TLS-RPT

Email Authentication · MTA-STS and TLS-RPT

MTA-STS and GDPR and ePrivacy compliance in the European Union

Short answer

GDPR requires a lawful basis (usually consent) for marketing email and documented consent records. MTA-STS supports compliance by making sender identity verifiable and recipient choices enforceable.

What GDPR and ePrivacy requires#

GDPR requires a lawful basis (usually consent) for marketing email and documented consent records.

What MTA-STS is#

MTA-STS (Mail Transfer Agent Strict Transport Security) lets a domain declare that inbound mail must be delivered over TLS with a valid certificate. TLS-RPT provides reports on delivery failures caused by TLS problems.

Why it matters#

Opportunistic TLS can be downgraded by an attacker in the network path. MTA-STS closes that hole and is increasingly a checkbox in security questionnaires.

How MTA-STS supports GDPR and ePrivacy compliance#

Regulators and recipients need to identify who sent a message and trust that opt-out mechanisms work. MTA-STS contributes by opportunistic TLS can be downgraded by an attacker in the network path. MTA-STS closes that hole and is increasingly a checkbox in security questionnaires.

Implementation steps#

  1. Publish a _mta-sts TXT record with an id value you will change on each policy update.
  2. Host a policy file at https://mta-sts.yourdomain.com/.well-known/mta-sts.txt listing your MX hosts.
  3. Start in mode: testing, then move to mode: enforce after reviewing TLS-RPT reports.
  4. Publish _smtp._tls TXT with rua=mailto: to receive TLS-RPT reports.
Example MTA-STS policy
version: STSv1
mode: enforce
mx: aspmx.l.google.com
mx: *.googlemail.com
max_age: 604800

Frequently asked questions#

Does MTA-STS affect outbound mail?

Only when the recipient domain publishes a policy. Your own policy protects mail coming to you.

Is DANE better than MTA-STS?

DANE requires DNSSEC and is stronger, but MTA-STS is easier to adopt. Microsoft and Google both support MTA-STS.

Analyse your own setup

All analysers
Technical analysis

SPF record analyser

Parse an SPF record, count its DNS lookups, and find what will break it.

Runs in your browser
Technical analysis

DMARC record analyser

Grade a DMARC record on enforcement, not just syntax.

Runs in your browser
Technical analysis

DKIM key analyser

Check a DKIM public key's strength, revocation state, and tags.

Runs in your browser

Keep reading on MTA-STS and TLS-RPT