1Mail::MIMEDefang::DKIMM(a3i)l::MIMEDefang::DKIM DocumentatMiaoinl::MIMEDefang::DKIM(3)
2
3
4

NAME

6       Mail::MIMEDefang::DKIM - DKIM interface for MIMEDefang
7

DESCRIPTION

9       Mail::MIMEDefang::DKIM is a module with a set of DKIM related methods
10       called from mimedefang-filter to operate with DKIM.
11

METHODS

13       md_dkim_sign
14           Returns a mail header and the DKIM signature for the message.  The
15           method accepts the following parameters:
16
17           $keyfile
18               The path to the private DKIM key
19
20           $algorithm
21               The algorithm to be used to sign the message, by default is
22               'rsa-sha1'
23
24           $method
25               The method used to sign the message, by default is 'relaxed'
26
27           $domain
28               The domain to be used when signing the message, by default it's
29               autodetected
30
31           $selector
32               The selector to be used when signing the message, by default
33               it's 'default'
34
35           $headers
36               The headers to sign, by default the headers are:
37                              From Sender Reply-To Subject Date
38                              Message-ID To Cc MIME-Version
39                              Content-Type Content-Transfer-Encoding Content-
40               ID Content-Description
41                              Resent-Date Resent-From Resent-Sender Resent-To
42               Resent-cc
43                              Resent-Message-ID
44                              In-Reply-To References
45                              List-Id List-Help List-Unsubscribe List-
46               Subscribe
47                              List-Post List-Owner List-Archive
48
49       md_dkim_verify
50           Verifies the DKIM signature of an email.  Return value can be
51           "pass", "fail", "invalid", "temperror", "none".  In case of
52           multiple signatures, the "best" result will be returned.  Best is
53           defined as "pass", followed by "fail", "invalid", and "none".  The
54           second return value is the domain that has applied the signature.
55           The third return value is the size of the DKIM public key.  The
56           forth return value is the value of the "b" tag of the DKIM
57           signature.
58
59
60
613.3                               2023-01-18         Mail::MIMEDefang::DKIM(3)
Impressum