webzod
account

Raise the MTA-STS max_age on Cloudflare

email.mta_sts.max_age_short · effort: minutes

Why it matters

Senders cache the policy for max_age seconds, so a very short value means they re-check often and leave short windows with no protection. A week or more is usual once the policy is stable.

The fix

  1. Update only the max_age line in the policy file (Worker code or web host), keeping your current mode and mx lines, deploy it, then edit the _mta-sts TXT record in DNS > Records and change the id.
text
Type:     TXT
Name:     _mta-sts.example.com
Content:  v=STSv1; id=2026100504

The examples use example.com. Replace it with your own domain.

Read the documentation (opens in a new tab)

Scan your domain to see whether this applies to you.