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

NAME

6       opendkim-testmsg - DKIM message tst
7

SYNOPSIS

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

DESCRIPTION

13       opendkim-testmsg signs or verifies an input message.  This  is  similar
14       to  the  test mode for opendkim(8) except that it does not use the same
15       configuration system or milter  interface.   Rather,  it  is  a  direct
16       access to the DKIM library with those functions "out of the way".
17
18       The message is read from standard input.  In signing mode, the complete
19       signed message will then be written to standard output.   When  verify‐
20       ing, there will be no output unless an error occurred.
21
22       To  sign  a  message,  the -d, -k and -s settings in the SYNOPSIS above
23       must be provided.  If all of them are absent, the input message will be
24       verified.  If some but not all are present, an error is returned.
25
26

OPTIONS

28       -C     If  specified,  the  signature header field generated in signing
29              mode will be  line-terminated  with  carriage-return  line-feed,
30              instead of just line-feed.
31
32       -d domain
33              Names  the domain in which signing is to be done.  More specifi‐
34              cally, names the domain in which the  public  key  matching  the
35              provided private key would be found in a live test.
36
37       -K     Arranges to keep temporary files generated during message canon‐
38              icalization for debugging purposes.
39
40       -k keypath
41              Specifies the path to the private key file which should be  used
42              to sign the input message.
43
44       -s selector
45              Names  the  selector  within the specified domain that should be
46              included in the signature.
47
48       -t path
49              Specifies the directory in which temporary files are to be  cre‐
50              ated.  The default is /tmp.
51

VERSION

53       This  man page covers the version of opendkim-testmsg that shipped with
54       version 2.11.0 of OpenDKIM.
55
57       Copyright (c)  2011-2013,  The  Trusted  Domain  Project.   All  rights
58       reserved.
59

SEE ALSO

61       opendkim(8)
62
63       RFC6376 - DomainKeys Identified Mail
64
65
66
67                          The Trusted Domain Project       opendkim-testmsg(8)
Impressum