opendkim-testmsg(8)

πŸ’– NAME πŸ’–

okay so bestie, this is the manual for opendkim-testmsg(8) from the System Manager's Manual, and the NAME line is literally: opendkim-testmsg β€” DKIM message tst. Yes, tst, not a typo I'm fixing 😭.

✨ SYNOPSIS ✨

opendkim-testmsg [-C] [-d domain] [-K] [-k keypath] [-s selector] [-t
       path]

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea: opendkim-testmsg signs or verifies an input message. It's similar to the test mode for opendkim(8) except that it does not use the same configuration system or milter interface. Instead, it's a direct access to the DKIM library with those functions "out of the way" β€” lowkey iconic.

The message is read from standard input. In signing mode, the complete signed message will then be written to standard output. When verifying, there will be no output unless an error occurred.

To sign a message, the -d, -k and -s settings in the SYNOPSIS above must be provided. If all of them are absent, the input message will be verified. If some but not all are present, an error is returned. 🫢

πŸ’… OPTIONS πŸ’…

  • -C β€” if specified, the signature header field generated in signing mode will be line-terminated with carriage-return line-feed, instead of just line-feed. πŸ’…
  • -d domain β€” names the domain in which signing is to be done. More specifically, names the domain in which the public key matching the provided private key would be found in a live test. ✨
  • -K β€” arranges to keep temporary files generated during message canonicalization for debugging purposes. πŸŽ€
  • -k keypath β€” specifies the path to the private key file which should be used to sign the input message. πŸ”‘
  • -s selector β€” names the selector within the specified domain that should be included in the signature. πŸ¦‹
  • -t path β€” specifies the directory in which temporary files are to be created. The default is /tmp. πŸ“

πŸŽ€ VERSION πŸŽ€

This man page covers the version of opendkim-testmsg that shipped with version 2.11.0 of OpenDKIM. slay. ✨

Copyright (c) 2011-2013, The Trusted Domain Project. All rights reserved.

🌈 SEE ALSO 🌈


πŸ’Œ cute sign-off: this page comes from The Trusted Domain Project and covers opendkim-testmsg as shipped with OpenDKIM 2.11.0; the bottom footer just repeats opendkim-testmsg(8) and has no date on it, bestie 😭✨

πŸ“¦ where this page comes from