3 .\" Copyright (c) 2019 Martijn van Duren <martijn@openbsd.org>
5 .\" Permission to use, copy, modify, and distribute this software for any
6 .\" purpose with or without fee is hereby granted, provided that the above
7 .\" copyright notice and this permission notice appear in all copies.
9 .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
22 .Nd add dkim signature to messages
27 .Op Fl c Ar canonicalization
36 adds a dkim signature to the message.
37 The following flags are supported:
43 Supported signing algorithms are
46 .Em ed25519 Pq when enabled at compile time .
47 Only sha256 should be used for hashing, since other algorithms are most likely
48 not supported by verifiers.
51 .It Fl c Ar canonicalization
52 The canonicalization algorithm used to sign the message.
57 should point to a file containing a list of domains.
58 Only one domain per line should be specified.
65 where the public key can be found.
66 This option can be specified multiple times to select the best
69 If specified multiple times it looks at the domain component of the first
70 mailbox in the from-header and tries to find a match.
71 If no exact match can be found it looks for the closest parent
73 If no matches can be the first
75 specified will be used.
77 The email headers which are included in the mail signature.
78 Per RFC this option requires at least the from header to be included.
79 The headers are specified by separating them with a colon.
81 .Em from:reply-to:subject:date:to:cc:resent-date:resent-from:resent-to:resent-cc:in-reply-to:references:list-id:list-help:list-unsubscribe:list-subscribe:list-post:list-owner:list-archive .
84 should point to a file containing the RSA private key to sign the messages.
86 The selector within the _domainkey subdomain of
88 where the public key can be found.
90 Add the time of signing to the dkim header.
94 the signature is valid to the dkim header.
96 Add the mail headers used in the dkim signature to the dkim header.
99 is specified all headers will be included in the dkim header.
100 Useful for debugging purposes.
107 .%Q Brandenburg InternetWorking
109 .%Q AT&T Laboratories
110 .%A M. Kucherawy, Ed.
114 .%T DomainKeys Identified Mail (DKIM) Signatures
119 .%Q Taughannock Networks
122 .%T A New Cryptographic Signature Method for DomainKeys Identified Mail
125 .An Martijn van Duren Aq Mt martijn@openbsd.org