MTA-STS-QUERY(1)

πŸ‘‘ NAME

mta-sts-query β€” bestie, this is the lil tool that goes and fetches the MTA-STS policy of a domain for you πŸ’…


✨ SYNOPSIS ✨

mta-sts-query [OPTION]... DOMAIN [KNOWN_VERSION]

πŸ¦‹ DESCRIPTION

Okay so picture this: you give it a DOMAIN, and it goes and grabs that domain's MTA-STS policy and just… prints the whole thing straight to standard output. That's it, that's the vibe 🌸

And here's the cute part β€” this is a diagnostic utility, so it lowkey works perfectly fine even if you don't have Postfix installed at all. Not everything has to be about the big setup, yk? Sometimes you just wanna peek πŸ‘€

Now, MTA-STS? It's fully specified in RFC 8461 [0] and it's a security standard for email servers. The way it works: when a site sets up MTA-STS, other mail servers can then demand that the site authenticate successfully before they'll forward mail over to it. It's giving bouncer-at-the-club energy 🫢 No auth, no entry, periodt.


πŸ’… OPTIONS πŸ’…

  • -h, --help β€” shows you a help message and then dips out. Simple, iconic, we love her ✨
  • -v, --verbosity VERBOSITY β€” sets the verbosity level for you. Your choices are debug, info, warn (that's the default btw), error, or fatal. Pick your volume bestie πŸ”Š
  • DOMAIN β€” the domain whose MTA-STS policy you're trying to retrieve. Yeah, this one's kinda the whole point πŸŽ€
  • KNOWN_VERSION β€” the latest known version. Default is None. Yep, literally None, no cap.

🌈 EXAMPLES

Wanna grab the MTA-STS policy for dismail.de? Say less:

mta-sts-query dismail.de

And boom, slay. That's literally it πŸ’–


πŸ‘€ SEE ALSO


🌸 NOTES

  1. SMTP MTA Strict Transport Security (MTA-STS): https://tools.ietf.org/html/rfc8461 β€” go read it, it's the source material fr fr πŸ“š

okay that's the whole page bestie, you're officially MTA-STS literate, mwah πŸ’‹

this masterpiece of a manpage lives in postfix-mta-sts-resolver, and it was last touched on 2026-04-29 β€” until next time, stay encrypted and stay gorgeous 🧚✨

πŸ“¦ where this page comes from