xref: /netbsd-src/external/ibm-public/postfix/dist/html/FORWARD_SECRECY_README.html (revision 479d8f7d843cc1b22d497efdf1f27a50ee8418d4)
1<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"
2        "http://www.w3.org/TR/html4/loose.dtd">
3
4<html>
5
6<head>
7
8<title>TLS Forward Secrecy in Postfix</title>
9
10<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
11
12</head>
13
14<body>
15
16<h1><img src="postfix-logo.jpg" width="203" height="98" ALT="">
17TLS Forward Secrecy in Postfix
18</h1>
19
20<hr>
21
22<h2> Warning </h2>
23
24<p> Forward secrecy does not protect against active attacks such
25as forged DNS replies or forged TLS server certificates. If such
26attacks are a concern, then the SMTP client will need to authenticate
27the remote SMTP server in a sufficiently-secure manner.  For example,
28by the fingerprint of a (CA or leaf) public key or certificate.
29Conventional PKI relies on many trusted parties and is easily
30subverted by a state-funded adversary.  </p>
31
32<h2> Overview </h2>
33
34<p> Postfix supports forward secrecy of TLS network communication
35since version 2.2. This support was adopted from Lutz J&auml;nicke's
36"Postfix TLS patch" for earlier Postfix versions.  This document
37will focus on TLS Forward Secrecy in the Postfix SMTP client and
38server.  See <a href="TLS_README.html">TLS_README</a> for a general
39description of Postfix TLS support. </p>
40
41<p> Topics covered in this document: </p>
42
43<ul>
44
45<li> <p> Give me some background on forward secrecy in Postfix </p>
46
47<ul>
48
49<li><a href="#dfn_fs">What is Forward Secrecy</a>
50
51<li><a href="#tls_fs">Forward Secrecy in TLS</a>
52
53<li><a href="#server_fs">Forward Secrecy in the Postfix SMTP Server</a>
54
55<li><a href="#client_fs">Forward Secrecy in the Postfix SMTP Client</a>
56
57</ul>
58
59<li> <p> Never mind, just show me what it takes to get forward
60secrecy </p>
61
62<ul>
63
64<li><a href="#quick-start">Getting started, quick and dirty</a>
65
66<li><a href="#test">How can I see that a connection has forward secrecy?</a>
67
68<li><a href="#ciphers"> What ciphers provide forward secrecy? </a>
69
70<li><a href="#status"> What do "Anonymous", "Untrusted", etc. in
71Postfix logging mean? </a>
72
73</ul>
74
75<li> <p> <a href="#credits"> Credits </a> </p>
76
77</ul>
78
79<h2><a name="dfn_fs">What is Forward Secrecy</a></h2>
80
81<p> The term "Forward Secrecy" (or sometimes "Perfect Forward Secrecy")
82is used to describe security protocols in which the confidentiality
83of past traffic is not compromised when long-term keys used by either
84or both sides are later disclosed.  </p>
85
86<p> Forward secrecy is accomplished by negotiating session keys
87using per-session cryptographically-strong random numbers that are
88not saved, and signing the exchange with long-term authentication
89keys.  Later disclosure of the long-term keys allows impersonation
90of the key holder from that point on, but not recovery of prior
91traffic, since with forward secrecy, the discarded random key
92agreement inputs are not available to the attacker. </p>
93
94<p> Forward secrecy is only "perfect" when brute-force attacks on
95the key agreement algorithm are impractical even for the best-funded
96adversary and the random-number generators used by both parties are
97sufficiently strong.  Otherwise, forward secrecy leaves the attacker
98with the challenge of cracking the key-agreement protocol, which
99is likely quite computationally intensive, but may be feasible for
100sessions of sufficiently high value.  Thus forward secrecy places
101cost constraints on the efficacy of bulk surveillance, recovering
102all past traffic is generally infeasible, and even recovery of
103individual sessions may be infeasible given a sufficiently-strong
104key agreement method. </p>
105
106<h2><a name="tls_fs">Forward Secrecy in TLS</a></h2>
107
108<p> Early implementations of the SSL protocol do not provide forward
109secrecy (some provide it only with artificially-weakened "export"
110cipher suites, but we will ignore those here). The client
111sends a random "pre-master secret" to the server encrypted with the
112server's RSA public key.  The server decrypts this with its private
113key, and uses it together with other data exchanged in the clear
114to generate the session key.  An attacker with access to the server's
115private key can perform the same computation at any later time.
116The TLS library in Windows XP and Windows Server 2003 only supported
117cipher suites of this type, and Exchange 2003 servers largely do
118not support forward secrecy.  </p>
119
120<p> Later revisions to the TLS protocol introduced forward-secrecy
121cipher suites in which the client and server implement a key exchange
122protocol based on ephemeral secrets.  Sessions encrypted with one
123of these newer cipher suites are not compromised by future disclosure
124of long-term authentication keys. </p>
125
126<p> The key-exchange algorithms used for forward secrecy require
127the TLS server to designate appropriate "parameters" consisting of a
128mathematical "group" and an element of that group called a "generator".
129Presently, there are two flavors of "groups" that work with PFS: </p>
130
131<ul>
132
133<li> <p> <b> Prime-field groups (EDH):</b>  The server needs to be
134configured with a suitably-large prime and a corresponding "generator".
135The acronym for forward secrecy over prime fields is EDH for Ephemeral
136Diffie-Hellman (also abbreviated as DHE).
137</p>
138
139<li> <p> <b> Elliptic-curve groups (EECDH): </b>  The server needs
140to be configured with a "named curve".  These offer better security
141at lower computational cost than prime field groups, but are not
142as widely implemented.  The acronym for the elliptic curve version
143is EECDH which is short for Ephemeral Elliptic Curve Diffie-Hellman
144(also abbreviated as ECDHE). </p>
145
146</ul>
147
148<p> It is not essential to know what these are, but one does need
149to know that OpenSSL supports EECDH with version 1.0.0 or later.
150Thus the configuration parameters related to Elliptic-Curve forward
151secrecy are available when Postfix is linked with OpenSSL &ge; 1.0.0
152(provided EC support has not been disabled by the vendor, as in
153some versions of RedHat Linux).  </p>
154
155<p> Elliptic curves used in cryptography are typically identified
156by a "name" that stands for a set of well-known parameter values,
157and it is these "names" (or associated ASN.1 object identifiers)
158that are used in the TLS protocol.  On the other hand, with TLS there
159are no specially designated prime field groups, so each server is
160free to select its own suitably-strong prime and generator.  </p>
161
162<h2><a name="server_fs">Forward Secrecy in the Postfix SMTP Server</a></h2>
163
164<p> The Postfix &ge; 2.2 SMTP server supports forward secrecy in
165its default configuration.  If the remote SMTP client prefers cipher
166suites with forward secrecy, then the traffic between the server
167and client will resist decryption even if the server's long-term
168authentication keys are <i>later</i> compromised. </p>
169
170<p> Some remote SMTP clients may support forward secrecy, but prefer
171cipher suites <i>without</i> forward secrecy. In that case, Postfix
172&ge; 2.8 could be configured to ignore the client's preference with
173the <a href="postconf.5.html">main.cf</a> setting "<a href="postconf.5.html#tls_preempt_cipherlist">tls_preempt_cipherlist</a> = yes".  However, this
174will likely cause interoperability issues with older Exchange servers
175and is not recommended for now.  </p>
176
177<h3> EDH Server support </h3>
178
179<p> Postfix &ge; 2.2 support 1024-bit-prime EDH out of the box,
180with no additional configuration, but you may want to override the
181default prime to be 2048 bits long, and you may want to regenerate
182your primes periodically. See the <a href="#quick-start">quick-start</a>
183section for details.  </p>
184
185<p> With prime-field EDH, OpenSSL wants the server to provide
186two explicitly-selected (prime, generator) combinations.  One for
187the now long-obsolete "export" cipher suites, and another for
188non-export cipher suites.  Postfix has two such default combinations
189compiled in, but also supports explicitly-configured overrides.
190</p>
191
192<ul>
193
194<li> <p> The "export" EDH parameters are used only with the obsolete
195"export" ciphers.  To use a non-default prime, generate a 512-bit
196DH parameter file and set <a href="postconf.5.html#smtpd_tls_dh512_param_file">smtpd_tls_dh512_param_file</a> to the filename
197(see the <a href="#quick-start">quick-start</a> section for details).
198</p>
199
200<li> <p> The non-export EDH parameters are used for all other EDH
201cipher suites.  To use a non-default prime, generate a 1024-bit or
2022048-bit DH parameter file and set <a href="postconf.5.html#smtpd_tls_dh1024_param_file">smtpd_tls_dh1024_param_file</a> to
203the filename.  Despite the name this is simply the non-export
204parameter file and the prime need not actually be 1024 bits long
205(see the <a href="#quick-start">quick-start</a> section for details).
206</p>
207
208</ul>
209
210<p> It turns out that (inadvisably-patched in some Debian releases)
211Exim SMTP clients require a &ge; 2048-bit length for the non-export
212prime.  See the <a href="#quick-start">quick-start</a> section for
213the recommended configuration to work around this issue.  </p>
214
215<h3> EECDH Server support </h3>
216
217<p> Postfix &ge; 2.6 support NIST P-256 EECDH when built with OpenSSL
218&ge; 1.0.0.  When the remote SMTP client also supports EECDH and
219implements the P-256 curve, forward secrecy just works.  </p>
220
221<blockquote> <p> Note: With Postfix 2.6 and 2.7, enable EECDH by
222setting the <a href="postconf.5.html">main.cf</a> parameter <a href="postconf.5.html#smtpd_tls_eecdh_grade">smtpd_tls_eecdh_grade</a> to "strong".
223</p> </blockquote>
224
225<p> The elliptic curve situation is evolving, with new curves being
226introduced to augment or replace the NIST curves tarnished by the
227Snowden revelations.  Fortunately, TLS clients advertise the list
228of supported curves to the server so that servers can in principle
229choose newer stronger curves when mutually supported.  The OpenSSL
230code for making this possible is not yet released as of late 2013
231(it is available only in OpenSSL development snapshots). </p>
232
233<p> At some point Postfix will need to adjust to the new API for
234setting the elliptic-curve options.  Fortunately, when EECDH support
235was added to Postfix, it introduced a layer of indirection: </p>
236
237<blockquote>
238<pre>
239    <a href="postconf.5.html#smtpd_tls_eecdh_grade">smtpd_tls_eecdh_grade</a> = strong | ultra
240    <a href="postconf.5.html#tls_eecdh_strong_curve">tls_eecdh_strong_curve</a> = prime256v1
241    <a href="postconf.5.html#tls_eecdh_ultra_curve">tls_eecdh_ultra_curve</a> = secp384r1
242</pre>
243</blockquote>
244
245<p> When it becomes possible in OpenSSL to support a "menu" of
246curves, we will likely extend "<a href="postconf.5.html#tls_eecdh_strong_curve">tls_eecdh_strong_curve</a>" to be an
247ordered list of curves and likewise with the "ultra" version, where
248the two might now overlap, and differ mostly in the preference
249order.  As a result most existing configurations will then support
250more curves at the desired security level without any changes to
251<a href="postconf.5.html">main.cf</a>. </p>
252
253<h2> <a name="client_fs">Forward Secrecy in the Postfix SMTP Client</a> </h2>
254
255<p> The Postfix &ge; 2.2 SMTP client supports forward secrecy in
256its default configuration.  No configuration changes are needed
257besides turning on elliptic-curve support with Postfix 2.6 and 2.7
258(see the <a href="#quick-start"> quick-start</a> section).  If the
259remote SMTP server supports cipher suites with forward secrecy (and
260does not override the SMTP client's cipher preference), then the
261traffic between the server and client will resist decryption even
262if the server's long-term authentication keys are <i>later</i>
263compromised.  </p>
264
265<p> The default Postfix SMTP client cipher lists are correctly
266ordered to prefer EECDH and EDH cipher suites ahead of similar
267cipher suites that don't implement forward secrecy.  Administrators
268are strongly discouraged from changing the cipher list definitions.
269It is likely safe to set "<a href="postconf.5.html#smtp_tls_ciphers">smtp_tls_ciphers</a> = medium" if you wish
270to disable the obsolete "export" and "low" grade ciphers even with
271opportunistic TLS.  Setting a minimum strength does not change the
272preference
273order.  Note that strengths higher than "medium" exclude Exchange
2742003 and likely other widely used MTAs, thus "high" grade ciphers
275should only be used on a case-by-case basis via the <a
276href="TLS_README.html#client_tls_policy">TLS policy</a> table. </p>
277
278<h2><a name="quick-start">Getting started, quick and dirty</a></h2>
279
280<h3> EECDH Client and server support (Postfix &ge; 2.6 with OpenSSL
281&ge; 1.0.0) </h3>
282
283<p> With Postfix 2.6 and 2.7, enable elliptic-curve support in the
284Postfix SMTP client and server. This is the default with Postfix
285&ge; 2.8. Note, however, that elliptic-curve support may be disabled
286by the vendor, as in some versions of RedHat Linux. </p>
287
288<blockquote>
289<pre>
290/etc/postfix/<a href="postconf.5.html">main.cf</a>:
291    # Postfix 2.6 or 2.7 only. This is default with Postfix 2.8 and later.
292    <a href="postconf.5.html#smtpd_tls_eecdh_grade">smtpd_tls_eecdh_grade</a> = strong
293</pre>
294</blockquote>
295
296<h3> EDH Client support (Postfix &ge; 2.2, all supported OpenSSL
297versions) </h3>
298
299<p> This works "out of the box" without additional configuration. </p>
300
301<h3> EDH Server support (Postfix &ge; 2.2, all supported OpenSSL
302versions) </h3>
303
304<p> Optionally generate non-default Postfix SMTP server EDH parameters
305for improved security against pre-computation attacks and for
306compatibility with Debian-patched Exim SMTP clients that require a
307&ge; 2048-bit length for the non-export prime. </p>
308
309<p> Execute as root (prime group generation can take a
310few seconds to a few minutes): </p>
311
312<blockquote>
313<pre>
314# cd /etc/postfix
315# umask 022
316# openssl dhparam -out dh512.tmp 512 && mv dh512.tmp dh512.pem
317# openssl dhparam -out dh1024.tmp 1024 && mv dh1024.tmp dh1024.pem
318# openssl dhparam -out dh2048.tmp 2048 && mv dh2048.tmp dh2048.pem
319# chmod 644 dh512.pem dh1024.pem dh2048.pem
320</pre>
321</blockquote>
322
323<p> The Postfix SMTP server EDH parameter files are not secret,
324after all these parameters are sent to all remote SMTP clients in
325the clear. Mode 0644 is fine. </p>
326
327<p> You can improve security against pre-computation attacks further
328by regenerating the Postfix SMTP server EDH parameters periodically
329(an hourly or daily cron job running the above commands as root can
330automate this task). </p>
331
332<p> Once the parameters are in place, update <a href="postconf.5.html">main.cf</a> as follows: </p>
333
334<blockquote>
335<pre>
336/etc/postfix/<a href="postconf.5.html">main.cf</a>:
337    <a href="postconf.5.html#smtpd_tls_dh1024_param_file">smtpd_tls_dh1024_param_file</a> = ${<a href="postconf.5.html#config_directory">config_directory</a>}/dh2048.pem
338    <a href="postconf.5.html#smtpd_tls_dh512_param_file">smtpd_tls_dh512_param_file</a> = ${<a href="postconf.5.html#config_directory">config_directory</a>}/dh512.pem
339</pre>
340</blockquote>
341
342<p> If some of your MSA clients don't support 2048-bit EDH, you may
343need to adjust the submission entry in <a href="master.5.html">master.cf</a> accordingly: </p>
344
345<blockquote>
346<pre>
347/etc/postfix/<a href="master.5.html">master.cf</a>:
348    submission inet n       -       n       -       -       smtpd
349        # Some submission clients may not yet do 2048-bit EDH, if such
350        # clients use your MSA, configure 1024-bit EDH instead:
351        -o <a href="postconf.5.html#smtpd_tls_dh1024_param_file">smtpd_tls_dh1024_param_file</a>=${<a href="postconf.5.html#config_directory">config_directory</a>}/dh1024.pem
352        -o <a href="postconf.5.html#smtpd_tls_security_level">smtpd_tls_security_level</a>=encrypt
353        -o <a href="postconf.5.html#smtpd_sasl_auth_enable">smtpd_sasl_auth_enable</a>=yes
354        ...
355</pre>
356</blockquote>
357
358<h2><a name="test">How can I see that a connection has forward
359secrecy? </a> </h2>
360
361<p> Postfix can be configured to report information about the
362negotiated cipher, the corresponding key lengths, and the remote
363peer certificate or public-key verification status.  </p>
364
365<ul>
366
367<li> <p> With "<a href="postconf.5.html#smtp_tls_loglevel">smtp_tls_loglevel</a> = 1" and "<a href="postconf.5.html#smtpd_tls_loglevel">smtpd_tls_loglevel</a> = 1",
368the Postfix SMTP client and server will log TLS connection information
369to the maillog file. The general logfile format is: </p>
370
371<blockquote>
372<pre>
373postfix/smtp[<i>process-id</i>]: Untrusted TLS connection established
374to host.example.com[192.168.0.2]:25: TLSv1 with cipher <i>cipher-name</i>
375(<i>actual-key-size</i>/<i>raw-key-size</i> bits)
376
377postfix/smtpd[<i>process-id</i>]: Anonymous TLS connection established
378from host.example.com[192.168.0.2]: TLSv1 with cipher <i>cipher-name</i>
379(<i>actual-key-size</i>/<i>raw-key-size</i> bits)
380</pre>
381</blockquote>
382
383<li> <p> With "<a href="postconf.5.html#smtpd_tls_received_header">smtpd_tls_received_header</a> = yes", the Postfix SMTP
384server will record TLS connection information in the Received:
385header in the form of comments (text inside parentheses). The general
386format depends on the <a href="postconf.5.html#smtpd_tls_ask_ccert">smtpd_tls_ask_ccert</a> setting:
387
388<blockquote>
389<pre>
390Received: from host.example.com (host.example.com [192.168.0.2])
391        (using TLSv1 with cipher <i>cipher-name</i>
392        (<i>actual-key-size</i>/<i>raw-key-size</i> bits))
393        (Client CN "host.example.com", Issuer "John Doe" (not verified))
394
395Received: from host.example.com (host.example.com [192.168.0.2])
396        (using TLSv1 with cipher <i>cipher-name</i>
397        (<i>actual-key-size</i>/<i>raw-key-size</i> bits))
398        (No client certificate requested)
399</pre>
400</blockquote>
401
402</ul>
403
404<p> The next sections will explain what <i>cipher-name</i>,
405<i>key-size</i>, and peer verification status information to expect.
406</p>
407
408<h2><a name="ciphers"> What ciphers provide forward secrecy? </a> </h2>
409
410<p> There are dozens of ciphers that support forward secrecy.  What
411follows is the beginning of a list of 51 ciphers available with
412OpenSSL 1.0.1e.  The list is sorted in the default Postfix preference
413order.  It excludes null ciphers that only authenticate and don't
414encrypt, together with export and low-grade ciphers whose encryption
415is too weak to offer meaningful secrecy. The first column shows the
416cipher name, and the second shows the key exchange method.  </p>
417
418<blockquote>
419<pre>
420$ openssl ciphers -v \
421        'aNULL:-aNULL:kEECDH:kEDH:+RC4:!eNULL:!EXPORT:!LOW:@STRENGTH' |
422    awk '{printf "%-32s %s\n", $1, $3}'
423AECDH-AES256-SHA                 Kx=ECDH
424ECDHE-RSA-AES256-GCM-SHA384      Kx=ECDH
425ECDHE-ECDSA-AES256-GCM-SHA384    Kx=ECDH
426ECDHE-RSA-AES256-SHA384          Kx=ECDH
427ECDHE-ECDSA-AES256-SHA384        Kx=ECDH
428ECDHE-RSA-AES256-SHA             Kx=ECDH
429ECDHE-ECDSA-AES256-SHA           Kx=ECDH
430ADH-AES256-GCM-SHA384            Kx=DH
431ADH-AES256-SHA256                Kx=DH
432ADH-AES256-SHA                   Kx=DH
433ADH-CAMELLIA256-SHA              Kx=DH
434DHE-DSS-AES256-GCM-SHA384        Kx=DH
435DHE-RSA-AES256-GCM-SHA384        Kx=DH
436DHE-RSA-AES256-SHA256            Kx=DH
437...
438</pre>
439</blockquote>
440
441<p> To date, all ciphers that support forward secrecy have one of
442five values for the first component of their OpenSSL name: "AECDH",
443"ECDHE", "ADH", "EDH" or "DHE".  Ciphers that don't implement forward
444secrecy have names that don't start with one of these prefixes.
445This pattern is likely to persist until some new key-exchange
446mechanism is invented that also supports forward secrecy.  </p>
447
448<p> The actual key length and raw algorithm key length
449are generally the same with non-export ciphers, but may they
450differ for the legacy export ciphers where the actual key
451is artificially shortened. </p>
452
453<h2><a name="status"> What do "Anonymous", "Untrusted", etc. in
454Postfix logging mean? </a> </h2>
455
456<p> The verification levels below are subject to man-in-the-middle
457attacks to different degrees.  If such attacks are a concern, then
458the SMTP client will need to authenticate the remote SMTP server
459in a sufficiently-secure manner. For example, by the fingerprint
460of a (CA or leaf) public key or certificate.  Remember that
461conventional PKI relies on many trusted parties and is easily
462subverted by a state-funded adversary.  </p>
463
464<dl>
465
466<dt><b>Anonymous</b> (no peer certificate)</dt>
467
468<dd> <p> <b> Postfix SMTP client:</b> With opportunistic TLS (the "may" security level) the Postfix
469SMTP client does not verify any information in the peer certificate.
470In this case it enables and prefers anonymous cipher suites in which
471the remote SMTP server does not present a certificate (these ciphers
472offer forward secrecy of necessity).  When the remote SMTP server
473also supports anonymous TLS, and agrees to such a cipher suite, the
474verification status will be logged as "Anonymous".  </p> </dd>
475
476<dd> <p> <b> Postfix SMTP server:</b> This is by far most common,
477as client certificates are optional, and the Postfix SMTP server
478does not request client certificates by default (see <a href="postconf.5.html#smtpd_tls_ask_ccert">smtpd_tls_ask_ccert</a>).
479Even when client certificates are requested, the remote SMTP client
480might not send a certificate.  Unlike the Postfix SMTP client, the
481Postfix SMTP server "anonymous" verification status does not imply
482that the cipher suite is anonymous, which corresponds to the
483<i>server</i> not sending a certificate.  </p> </dd>
484
485<dt><b>Untrusted</b> (peer certificate not signed by trusted CA)</dt>
486
487<dd>
488
489<p> <b> Postfix SMTP client:</b> The remote SMTP server presented
490a certificate, but the Postfix SMTP client was unable to check the
491issuing CA signature.  With opportunistic TLS this is common with
492remote SMTP servers that don't support anonymous cipher suites.
493</p>
494
495<p> <b> Postfix SMTP server:</b> The remote SMTP client presented
496a certificate, but the Postfix SMTP server was unable to check the
497issuing CA signature.  This can happen when the server is configured
498to request client certificates (see <a href="postconf.5.html#smtpd_tls_ask_ccert">smtpd_tls_ask_ccert</a>).  </p>
499
500</dd>
501
502<dt><b>Trusted</b> (peer certificate signed by trusted CA, unverified
503peer name)</dt>
504
505<dd>
506
507<p> <b> Postfix SMTP client:</b> The remote SMTP server's certificate
508was signed by a CA that the Postfix SMTP client trusts, but either
509the client was not configured to verify the destination server name
510against the certificate, or the server certificate did not contain
511any matching names.  This is common with opportunistic TLS
512(<a href="postconf.5.html#smtp_tls_security_level">smtp_tls_security_level</a> is "may" or else "dane" with no usable
513TLSA DNS records) when the Postfix SMTP client's trusted CAs can
514verify the authenticity of the remote SMTP server's certificate,
515but the client is not configured or unable to verify the server
516name. </p>
517
518<p> <b> Postfix SMTP server:</b> The remote SMTP client certificate
519was signed by a CA that the Postfix SMTP server trusts.  The Postfix
520SMTP server never verifies the remote SMTP client name against the
521names in the client certificate. Since the client chooses to connect
522to the server, the Postfix SMTP server has no expectation of a
523particular client hostname. </p>
524
525</dd>
526
527<dt><b>Verified</b> (peer certificate signed by trusted CA and
528verified peer name; or: peer certificate with expected public-key
529or certificate fingerprint)</dt>
530
531<dd>
532
533<p> <b> Postfix SMTP client:</b> The remote SMTP server's certificate
534was signed by a CA that the Postfix SMTP client trusts, and the
535certificate name matches the destination or server name(s).  The
536Postfix SMTP client was configured to require a verified name,
537otherwise the verification status would have been just "Trusted".
538</p>
539
540<p> <b> Postfix SMTP client:</b> The "Verified" status may also
541mean that the Postfix SMTP client successfully matched the expected
542fingerprint against the remote SMTP server public key or certificate.
543The expected fingerprint may come from <a href="postconf.5.html#smtp_tls_policy_maps">smtp_tls_policy_maps</a> or from
544TLSA (secure) DNS records.  The Postfix SMTP client ignores the CA
545signature.  </p>
546
547<p> <b> Postfix SMTP server:</b> The status is never "Verified",
548because the Postfix SMTP server never verifies the remote SMTP
549client name against the names in the client certificate, and because
550the Postfix SMTP does not expect a specific fingerprint in the
551client public key or certificate.  </p>
552
553</dd>
554
555</dl>
556
557<h2><a name="credits">Credits </a> </h2>
558
559<ul>
560
561<li> TLS support for Postfix was originally developed by  Lutz
562J&auml;nicke at Cottbus Technical University.
563
564<li> Wietse Venema adopted and restructured the code and documentation.
565
566<li> Viktor Dukhovni implemented support for many subsequent TLS
567features, including EECDH, and authored the initial version of this
568document.
569
570</ul>
571
572</body>
573
574</html>
575