1opendkim-testkey(8)         System Manager's Manual        opendkim-testkey(8)
2
3
4

NAME

6       opendkim-testkey - DKIM filter installation test
7

SYNOPSIS

9       opendkim-testkey  [-d  domain] [-s selector] [-k keypath] [-v] [-x con‐
10       figfile]
11

DESCRIPTION

13       opendkim-testkey verifies the setup of signing and  verifying  (private
14       and public) keys for use with opendkim(8).
15
16       The  test program will read a domain name and selector from the command
17       line, configuration file or a key  table,  then  query  and  parse  the
18       resulting DKIM key(s), reporting any errors found.
19
20       If  a key path is also provided, the test program will read the private
21       key named and attempt to confirm that the private key specified by key‐
22       path (or in the key table) and the public DKIM key retrieved match.
23

OPTIONS

25       -d domain
26              Names  the domain in which signing is to be done.  More specifi‐
27              cally, names the domain in which the  public  key  matching  the
28              provided private key will be found.  This parameter must be pro‐
29              vided either explicitly, or in the configuration file, or via  a
30              KeyTable (see opendkim.conf(5) for details).
31
32       -k keypath
33              Specifies  the path to the private key file which should be used
34              for this test.  This parameter is optional
35
36       -s selector
37              Names the selector within the specified domain whose public  key
38              should  be retrieved and tested, comparing it to the private key
39              if provided.  This parameter must be provided either explicitly,
40              or  in  the  configuration  file,  or via a KeyTable (see opend‐
41              kim.conf(5) for details).
42
43       -v     Increases the amount of output (verbosity) of the program.   May
44              be specified multiple times for increased output.
45
46       -x conffile
47              Names  a  configuration  file  to  be  parsed.   See  the opend‐
48              kim.conf(5) man page for details.   The  only  values  used  are
49              Domain,   Selector,   KeyFile,   KeyTable,  TrustAnchorFile  and
50              ResolverConfig.  The default is /etc/opendkim.conf.
51

NOTES

53       The test program will also complain if a private key file  is  readable
54       by anyone other than the user executing the program.
55

VERSION

57       This  man page covers the version of opendkim-testkey that shipped with
58       version 2.11.0 of OpenDKIM.
59
61       Copyright (c) 2007, 2008, Sendmail, Inc. and its suppliers.  All rights
62       reserved.
63
64       Copyright  (c)  2009-2012,  The  Trusted  Domain  Project.   All rights
65       reserved.
66

SEE ALSO

68       opendkim(8)
69
70       RFC6376 - DomainKeys Identified Mail
71
72
73
74                          The Trusted Domain Project       opendkim-testkey(8)
Impressum