webzod
account

Fix the MTA-STS TXT record

email.mta_sts.invalid_txt · effort: minutes

Why it matters

Senders ignore a malformed or duplicated MTA-STS TXT record and behave as though you have no policy. The record needs one v=STSv1 and an id of letters and digits.

The fix

  1. Keep exactly one TXT record at _mta-sts whose text starts with v=STSv1; delete any other.
  2. It must contain id= followed by 1 to 32 letters or digits (no dashes, dots or spaces). A timestamp such as 2026100501 works well.
  3. Change the id whenever you change the policy file, so senders re-fetch it.
dns
_mta-sts.example.com.  IN TXT  "v=STSv1; id=2026100501"

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.