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 aredebug,info,warn(that's the default btw),error, orfatal. 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 isNone. Yep, literallyNone, 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
- 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
- ubuntu stonking: postfix-mta-sts-resolver 1.5.1-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms