opendkim-testkey(8)

πŸ’… opendkim-testkey(8) πŸ’…

System Manager's Manual β€” okay bestie, this is the DKIM filter installation test, and it's giving β€œlet’s check your keys before anything embarrassing happens” energy πŸŽ€

🌸 NAME 🌸

opendkim-testkey β€” DKIM filter installation test.

✨ SYNOPSIS ✨

opendkim-testkey [-d domain] [-s selector] [-k keypath] [-v] [-x
       configfile]

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so opendkim-testkey is the vibe check for your signing and verifying keys β€” private and public β€” when you’re setting them up for use with opendkim(8). It verifies the setup, no cap. ✨

This test program reads a domain name and selector from the command line, configuration file, or a key table, then queries and parses the resulting DKIM key(s), reporting any errors it finds. πŸ’–

If you also hand it a key path, it reads the private key named there and tries to confirm that the private key specified by keypath (or in the key table) and the public DKIM key it retrieved actually match. That’s the matching fit check, bestie 🫢

πŸ’… OPTIONS πŸ’…

  • -d domain β€” Names the domain where signing is to be done. More specifically, it names the domain where the public key matching the provided private key will be found. This parameter must be provided either explicitly, or in the configuration file, or via a KeyTable (see opendkim.conf(5) for details). πŸ’–
  • -k keypath β€” Specifies the path to the private key file which should be used for this test. This parameter is optional. πŸ”‘
  • -s selector β€” Names the selector within the specified domain whose public key should be retrieved and tested, comparing it to the private key if provided. This parameter must be provided either explicitly, or in the configuration file, or via a KeyTable (see opendkim.conf(5) for details). πŸŽ€
  • -v β€” Increases the amount of output (verbosity) of the program. May be specified multiple times for increased output. πŸ—£οΈ
  • -x conffile β€” Names a configuration file to be parsed. See the opendkim.conf(5) man page for details. The only values used are Domain, Selector, KeyFile, KeyTable, TrustAnchorFile and ResolverConfig. The default is /etc/opendkim/opendkim.conf. πŸ“

πŸ‘‘ NOTES πŸ‘‘

⚠️ The test program will also complain if a private key file is readable by anyone other than the user executing the program. So yeah, if the perms are messy, it’s gonna call it out β€” keep it locked to the right user, bestie πŸ’…

🌈 VERSION 🌈

This man page covers the version of opendkim-testkey that shipped with version 2.11.0 of OpenDKIM. πŸ’–

Copyright (c) 2007, 2008, Sendmail, Inc. and its suppliers. All rights reserved.

Copyright (c) 2009-2012, The Trusted Domain Project. All rights reserved.

🌟 SEE ALSO 🌟


πŸ’– xoxo, The Trusted Domain Project β€” source of this opendkim-testkey(8) page β€” shipped with OpenDKIM 2.11.0, and the footer date is whatever your local man page renders, bestie πŸŽ€
πŸ“¦ where this page comes from