Fail

The MTA-STS DNS record isn't valid

The short version

Publish one TXT record at _mta-sts with v=STSv1 and an id of letters and digits.

What it means

The TXT record at _mta-sts.<your domain> doesn't follow the MTA-STS format. The record must start with v=STSv1 and carry an id= of 1 to 32 letters and digits, for example v=STSv1; id=20261114. The detail names what is wrong. Two records at the same name count as broken too.

Why it matters

The record is how senders learn that a policy exists and when it changed. When they can't read it, they ignore MTA-STS for your domain entirely, so a policy you prepared carefully protects nothing. Common causes are punctuation in the id (dashes, dots, a full timestamp with colons), the version written in the wrong case, or a second record left behind after a change.

How to fix it

  1. Open the DNS records for your domain at your DNS host and find the TXT records named _mta-sts.
  2. Keep exactly one. Delete any older copies.
  3. Set its value to v=STSv1; id= followed by letters and digits only. A date such as 20261114 works well; change it whenever you edit the policy file.
  4. Save, and wait for the old record's TTL to pass.

Check it worked

Run the MTA-STS checker on your domain again. Policy files are fetched fresh on every check, but senders cache the old policy for as long as its max_age says, so give real mail servers that long to notice. The record row should show the id with no errors.