What MTA-STS protects against
Mail servers encrypt delivery with STARTTLS, but an attacker in the network path can strip that offer and force plain text, or redirect mail with a forged MX answer. MTA-STS (RFC 8461) lets a domain publish a policy saying: deliver only over TLS, only to these MX hosts, and only if the certificate is valid.
Three parts that must agree
A TXT record at _mta-sts.example.com signals that a policy exists and carries an id that changes with each edit. The policy itself is a text file served over HTTPS at https://mta-sts.example.com/.well-known/mta-sts.txt. And TLS-RPT (RFC 8460), a TXT record at _smtp._tls.example.com, tells senders where to report delivery failures.
The useful checks are the cross-checks: every live MX host must match an mx: line in the policy, and each must offer STARTTLS with a trusted, unexpired certificate that names the MX host. In enforce mode a mismatch means mail bounces.