File: DEPRECATION_README.html

package info (click to toggle)
postfix 3.11.0-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 29,376 kB
  • sloc: ansic: 143,636; makefile: 19,474; sh: 7,190; perl: 2,855; python: 1,448; awk: 158
file content (631 lines) | stat: -rw-r--r-- 26,224 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"
       "https://www.w3.org/TR/html4/loose.dtd">

<html>

<head>

<title>Postfix Replacements for Deprecated Features </title>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel='stylesheet' type='text/css' href='postfix-doc.css'>

</head>

<body>

<h1><img src="postfix-logo.jpg" width="203" height="98" ALT="">Postfix
Replacements for Deprecated Features</h1>

<hr>

<h2>Purpose of this document </h2>

<p> This document describes Postfix features that are deprecated
(will be removed) or that have already been removed. It also has
tips for making an existing Postfix configuration more future-proof.
</p>

<p> Overview: </p>

<ul>

<li> <a href="#why"> Why deprecate? </a> 

<li> <a href="#process"> Deprecation process </a> 

<li> <a href="#features"> Deprecated features </a> 

</ul>

<h2> <a name="why"> Why deprecate? </a> </h2>

<p> Sometimes, a Postfix feature needs to be replaced with a different
one. To give an example: </p>

<ul>

<li> <p> The initial Postfix TLS implementation used multiple boolean
parameters: one parameter to enable opportunistic TLS (for example, 
"<a href="postconf.5.html#smtp_enforce_tls">smtp_enforce_tls</a> = yes") and one parameter to enable mandatory TLS
(for example, "smtp_require_tls = yes"). </p>

<li> <p> As we added support more features such as fingerprint,
dane, and so on, we decided not to add more boolean parameters.
Instead we introduced one configuration parameter to select from
multiple deployment models (for example, <a href="postconf.5.html#smtp_tls_security_level">smtp_tls_security_level</a> =
may | encrypt | dane, etc...). </p>

</ul>

<!--

<p> Over time it has become clear that 'level' is too rigid, so this may
have to change again. Wietse and Viktor have been discussing a way to
specify a range with minimum properties that are required (e.g., encrypt)
and nice-to-have properties if they are available (dane or mta-sts). </p>

-->

<p> Having both the "old" and "new" way to configure Postfix is
convenient for existing Postfix installations, because their
configuration does not break after an upgrade to a new version.
Unfortunately, there are also disadvantages. Having multiple ways
to do similar things is not only confusing for newcomers, it also
makes Postfix harder to change. </p>

<h2> <a name="process"> Deprecation process </a> </h2>

<p> The basic process steps are: </p>

<ol>

<li> <p> Inform humans that a feature will be removed, and suggest
replacements, in logging and documentation. </p>

<li> <p> Remove the feature, and update logging and documentation.  </p>

</ol>

<p> Disclaimer: it has taken 20 years for some features to be
removed. This past is not a guarantee for the future. </p>

<h2> <a name="features"> Deprecated features </a> </h2>

<p> The table summarizes removed or deprecated features and
replacements. Click on the "obsolete feature" name for a more
detailed description. </p>

<blockquote>

<table border="1">

<tr> <th> Obsolete feature name </th> <th> Warning as <br> of version
</th> <th> Removed <br> in version </th> <th> Replacement </th>
</tr>

<tr> <td> <a href="#renamed"> authorized_verp_clients </a> </td>
<td align="center"> 3.11 </td> <td align="center"> - </td> <td>
<a href="postconf.5.html#smtpd_authorized_verp_clients">smtpd_authorized_verp_clients</a> </td> </tr>

<tr> <td> <a href="#renamed"> fallback_relay </a> </td> <td
align="center"> 3.11 </td> <td align="center"> - </td> <td>
<a href="postconf.5.html#smtp_fallback_relay">smtp_fallback_relay</a> </td> </tr>

<tr> <td> <a href="#renamed"> lmtp_per_record_deadline </a> </td>
<td align="center"> 3.11 </td> <td align="center"> - </td> <td>
<a href="postconf.5.html#lmtp_per_request_deadline">lmtp_per_request_deadline</a> </td> </tr>

<tr> <td> <a href="#renamed"> postscreen_blacklist_action </a> </td>
<td align="center"> 3.11 </td> <td align="center"> - </td> <td>
<a href="postconf.5.html#postscreen_denylist_action">postscreen_denylist_action</a> </td> </tr>

<tr> <td> <a href="#renamed"> postscreen_dnsbl_ttl </a> </td> <td
align="center"> 3.11 </td> <td align="center"> - </td> <td>
<a href="postconf.5.html#postscreen_dnsbl_max_ttl">postscreen_dnsbl_max_ttl</a> </td> </tr>

<tr> <td> <a href="#renamed"> postscreen_dnsbl_whitelist_threshold
</a> </td> <td align="center"> 3.11 </td> <td align="center"> -
</td> <td> 
<a href="postconf.5.html#postscreen_dnsbl_allowlist_threshold">postscreen_dnsbl_allowlist_threshold</a> </td> </tr>

<tr> <td> <a href="#renamed"> postscreen_whitelist_interfaces </a>
</td> <td align="center"> 3.11 </td> <td align="center"> - </td>
<td> <a href="postconf.5.html#postscreen_allowlist_interfaces">postscreen_allowlist_interfaces</a> </td> </tr>

<tr> <td> <a href="#renamed"> smtpd_client_connection_limit_exceptions
</a> </td> <td align="center"> 3.11 </td> <td align="center"> -
</td> <td>
<a href="postconf.5.html#smtpd_client_event_limit_exceptions">smtpd_client_event_limit_exceptions</a> </td> </tr>

<tr> <td> <a href="#renamed"> smtpd_per_record_deadline </a> </td>
<td align="center"> 3.11 </td> <td align="center"> - </td> <td>
<a href="postconf.5.html#smtpd_per_request_deadline">smtpd_per_request_deadline</a> </td> </tr>

<tr> <td> <a href="#renamed"> smtp_per_record_deadline </a> </td>
<td align="center"> 3.11 </td> <td align="center"> - </td> <td>
<a href="postconf.5.html#smtp_per_request_deadline">smtp_per_request_deadline</a> </td> </tr>

<tr> <td> <a href="#renamed"> tlsproxy_client_level </a> </td> <td
align="center"> 3.11 </td> <td align="center"> - </td> <td>
<a href="postconf.5.html#tlsproxy_client_security_level">tlsproxy_client_security_level</a> </td> </tr>

<tr> <td> <a href="#renamed"> tlsproxy_client_policy </a> </td> <td
align="center"> 3.11 </td> <td align="center"> - </td> <td>
<a href="postconf.5.html#tlsproxy_client_policy_maps">tlsproxy_client_policy_maps</a> </td> </tr>

<tr> <td> <a href="#renamed"> virtual_maps </a> </td> <td align="center">
3.11 </td> <td align="center"> - </td> <td> <a href="postconf.5.html#virtual_alias_maps">virtual_alias_maps</a> </td>
</tr>

<!--

<tr> <td> <a href="#tls_xdhx_auto">
tls_eecdh_auto_curves </a> </td> <td align="center"> 3.11
</td> <td align="center"> - </td> <td> do not specify with OpenSSL 3.5 or later
</td> </tr>

<tr> <td> <a href="#tls_xdhx_auto">
tls_ffdhe_auto_groups </a> </td> <td align="center"> 3.11
</td> <td align="center"> - </td> <td> do not specify with OpenSSL 3.5 or later
</td> </tr>

-->

<tr> <td> <a href="#cname_overrides_servername">
smtp_cname_overrides_servername </a> </td> <td align="center"> 3.11
</td> <td align="center"> - </td> <td> do not specify (leave at default)
</td> </tr>

<tr> <td> <a href="#cname_overrides_servername">
lmtp_cname_overrides_servername </a> </td> <td align="center"> 3.11
</td> <td align="center"> - </td> <td> do not specify (leave at default)
</td> </tr>

<tr> <td> <a href="#xxx_tls_enforce_peername">
<i>xxx</i>_tls_enforce_peername </a> </td> <td align="center"> 3.11
</td> <td align="center"> - </td> <td> <i>xxx</i>_tls_security_level
</td> </tr>

<tr> <td> <a href="#disable_dns_lookups"> disable_dns_lookups </a>
</td> <td align="center"> 3.9 </td> <td align="center"> - </td>
<td> <a href="postconf.5.html#smtp_dns_support_level">smtp_dns_support_level</a> </td> </tr>

<tr> <td> <a href="#xxx_use_tls"> <i>xxx</i>_use_tls </a> </td>
<td align="center"> 3.9 </td> <td align="center"> - </td> <td>
<i>xxx</i>_tls_security_level </td> </tr>

<tr> <td> <a href="#xxx_enforce_tls"> <i>xxx</i>_enforce_tls </a>
</td> <td align="center"> 3.9 </td> <td align="center"> - </td>
<td> <i>xxx</i>_tls_security_level </td> </tr>

<tr> <td> <a href="#xxx_per_site"> <i>xxx</i>_per_site </a> </td>
<td align="center"> 3.9 </td> <td align="center"> - </td> <td>
<i>xxx</i>_policy_maps </td> </tr>

<tr> <td> <a href="#smtpd_tls_dh1024_param_file">
smtpd_tls_dh1024_param_file </a> </td> <td align="center"> 3.9 </td>
<td align="center"> - </td> <td> do not specify (leave at default)
</td> </tr>

<tr> <td> <a href="#smtpd_tls_eecdh_grade"> smtpd_tls_eecdh_grade
</a> </td> <td align="center"> 3.9 </td> <td align="center"> - </td>
<td> do not specify (leave at default) </td> </tr>

<tr> <td> <a href="#permit_mx_backup"> permit_mx_backup </a> </td>
<td align="center"> 3.9 </td> <td align="center"> - </td> <td>
<a href="postconf.5.html#relay_domains">relay_domains</a> </td> </tr>

<tr> <td> <a href="#check_relay_domains"> check_relay_domains </a>
</td> <td align="center"> 2.2 </td> <td align="center"> 3.9 </td>
<td> <a href="postconf.5.html#permit_mynetworks">permit_mynetworks</a>, <a href="postconf.5.html#reject_unauth_destination">reject_unauth_destination</a> </td> </tr>

<tr> <td> <a href="#reject_maps_rbl"> reject_maps_rbl </a> </td>
<td align="center"> 2.1 </td> <td align="center"> 3.9 </td> <td>
<a href="postconf.5.html#reject_rbl_client">reject_rbl_client</a> </td> </tr>

<tr> <td> <a href="#permit_naked_ip_address"> permit_naked_ip_address
</a> </td> <td align="center"> 2.0 </td> <td align="center"> 3.9
</td> <td> <a href="postconf.5.html#permit_mynetworks">permit_mynetworks</a>, <a href="postconf.5.html#permit_sasl_authenticated">permit_sasl_authenticated</a> </td> </tr>

</table>

</blockquote>

<h3> <a name="renamed"> Parameters that have been renamed for
consistency </a> </h3>

<p> The <a href="postconf.1.html">postconf(1)</a> command logs one or more of the following: </p>

<ul>

<li> support for parameter "<a href="postconf.5.html#authorized_verp_clients">authorized_verp_clients</a>" will be removed;
instead, specify "<a href="postconf.5.html#smtpd_authorized_verp_clients">smtpd_authorized_verp_clients</a>" </li>

<li> support for parameter "<a href="postconf.5.html#fallback_relay">fallback_relay</a>" will be removed; instead,
specify "<a href="postconf.5.html#smtp_fallback_relay">smtp_fallback_relay</a>" </li>

<li> support for parameter "<a href="postconf.5.html#lmtp_per_record_deadline">lmtp_per_record_deadline</a>" will be
removed; instead, specify "<a href="postconf.5.html#lmtp_per_request_deadline">lmtp_per_request_deadline</a>" </li>

<li> support for parameter "<a href="postconf.5.html#postscreen_blacklist_action">postscreen_blacklist_action</a>" will be
removed; instead, specify "<a href="postconf.5.html#postscreen_denylist_action">postscreen_denylist_action</a>" </li>

<li> support for parameter "<a href="postconf.5.html#postscreen_dnsbl_ttl">postscreen_dnsbl_ttl</a>" will be removed;
instead, specify "<a href="postconf.5.html#postscreen_dnsbl_max_ttl">postscreen_dnsbl_max_ttl</a>" </li>

<li> support for parameter "<a href="postconf.5.html#postscreen_dnsbl_whitelist_threshold">postscreen_dnsbl_whitelist_threshold</a>"
will be removed; instead, specify "<a href="postconf.5.html#postscreen_dnsbl_allowlist_threshold">postscreen_dnsbl_allowlist_threshold</a>"
</li>

<li> support for parameter "<a href="postconf.5.html#postscreen_whitelist_interfaces">postscreen_whitelist_interfaces</a>" will
be removed; instead, specify "<a href="postconf.5.html#postscreen_allowlist_interfaces">postscreen_allowlist_interfaces</a>" </li>

<li> support for parameter "<a href="postconf.5.html#smtpd_client_connection_limit_exceptions">smtpd_client_connection_limit_exceptions</a>"
will be removed; instead, specify "<a href="postconf.5.html#smtpd_client_event_limit_exceptions">smtpd_client_event_limit_exceptions</a>"
</li>

<li> support for parameter "<a href="postconf.5.html#smtp_per_record_deadline">smtp_per_record_deadline</a>" will be
removed; instead, specify "<a href="postconf.5.html#smtp_per_request_deadline">smtp_per_request_deadline</a>" </li>

<li> support for parameter "<a href="postconf.5.html#tlsproxy_client_level">tlsproxy_client_level</a>" will be removed;
instead, specify "<a href="postconf.5.html#tlsproxy_client_security_level">tlsproxy_client_security_level</a>" </li>

<li> support for parameter "<a href="postconf.5.html#tlsproxy_client_policy">tlsproxy_client_policy</a>" will be removed;
instead, specify "<a href="postconf.5.html#tlsproxy_client_policy_maps">tlsproxy_client_policy_maps</a>" </li>

<li> support for parameter "<a href="postconf.5.html#virtual_maps">virtual_maps</a>" will be removed; instead,
specify "<a href="postconf.5.html#virtual_alias_maps">virtual_alias_maps</a>" </li>

</ul>

<p> The above parameters have been renamed for consistency with other
parameters. For backwards compatibility, the old parameter values are
used as the default value for the new parameters, but they will
eventually be removed to eliminate clutter and confusion  </p>

<p> To silence these warning messages, edit <a href="postconf.5.html">main.cf</a> or <a href="master.5.html">master.cf</a>,
and replace each obsolete parameter name with its replacement. </p>

<!--

<h3> <a name="tls_xdhx_auto"> Obsolete auto group/curve configuration
</a> </h3>

<p> The <a href="postconf.1.html">postconf(1)</a> command logs one of the following: </p>

<ul>

<li> support for parameter "<a href="postconf.5.html#tls_eecdh_auto_curves">tls_eecdh_auto_curves</a>" will be removed;
instead, do not specify with OpenSSL 3.5 or later

<li> support for parameter "<a href="postconf.5.html#tls_ffdhe_auto_groups">tls_ffdhe_auto_groups</a>" will be removed;
instead, do not specify with OpenSSL 3.5 or later

</ul>

<p> The empty value is the default setting for both as of Postfix
3.11, when compiled with OpenSSL 3.5 or later. See <a href="postconf.5.html#tls_config_file">tls_config_file</a>
for a configuration example </p>

-->

<h3> <a name="cname_overrides_servername"> Obsolete CNAME override
for peer name configuration </a> </h3>

<p> The <a href="postconf.1.html">postconf(1)</a> command logs one of the following: </p>

<ul>

<li> support for parameter "<a href="postconf.5.html#smtp_cname_overrides_servername">smtp_cname_overrides_servername</a>" will be
removed; instead, do not specify

<li> support for parameter "<a href="postconf.5.html#lmtp_cname_overrides_servername">lmtp_cname_overrides_servername</a>" will be
removed; instead, do not specify

</ul>

<p> These features control whether a DNS CNAME record can override
the server peer name that Postfix will use for policy lookup or for
certificate verification. This behavior is disabled by default as of
Postfix 2.11, because it no longer solves a real problem. </p>

<h3> <a name="xxx_tls_enforce_peername"> Obsolete TLS peer name
match configuration </a> </h3>

<p> The <a href="postconf.1.html">postconf(1)</a> command logs one of the following: </p>

<ul>

<li> support for parameter "<a href="postconf.5.html#lmtp_tls_enforce_peername">lmtp_tls_enforce_peername</a>" will be
removed; instead, specify "<a href="postconf.5.html#lmtp_tls_security_level">lmtp_tls_security_level</a>"

<li> support for parameter "<a href="postconf.5.html#smtp_tls_enforce_peername">smtp_tls_enforce_peername</a>" will be
removed; instead, specify "<a href="postconf.5.html#smtp_tls_security_level">smtp_tls_security_level</a>"

</ul>

<p> There are similarly-named parameters and warnings for <a href="postscreen.8.html">postscreen(8)</a>
and <a href="tlsproxy.8.html">tlsproxy(8)</a>, but those parameters should rarely be specified
by hand. </p>

<p> Replace obsolete configuration with its replacement: </p>

<blockquote>

<table border="1">

<tr> <th width="33%"> Goal </th> <th width="33%"> Obsolete configuration </th> <th> Replacement configuration </th> </tr>

<tr> <td> Enforce peer name match with server certificate </td>
<td> <i>xxx</i>_enforce_peername = yes </td> <td> <i>xxx</i>_security_level
= verify <br> <i>xxx</i>_security_level = secure </td> </tr>

<tr> <td> Disable peer name match with server certificate </td>
<td> <i>xxx</i>_enforce_peername = no </td> <td> <i>xxx</i>_security_level
= may <br> <i>xxx</i>_security_level = encrypt </td> </tr>

</table>

</blockquote>

<h3> <a name="disable_dns_lookups"> Obsolete DNS on/off configuration
</a> </h3>

<p> The <a href="postconf.1.html">postconf(1)</a> command logs the following: </p>

<ul>

<li> support for parameter "<a href="postconf.5.html#disable_dns_lookups">disable_dns_lookups</a>" will be removed; instead, specify "<a href="postconf.5.html#smtp_dns_support_level">smtp_dns_support_level</a>"

</ul>

<p> Replace obsolete configuration with its replacement: </p>

<blockquote>

<table border="1">

<tr> <th width="33%"> Goal </th> <th width="33%"> Obsolete configuration
</th> <th> Replacement configuration </th> </tr>

<tr> <td> To disable DNS lookups in the Postfix SMTP/LMTP client
</td> <td> <a href="postconf.5.html#disable_dns_lookups">disable_dns_lookups</a> = yes </td> <td> <a href="postconf.5.html#smtp_dns_support_level">smtp_dns_support_level</a>
= disabled </td> </tr>

<tr> <td> To enable DNS lookups in the Postfix SMTP/LMTP client </td> <td> 
<a href="postconf.5.html#disable_dns_lookups">disable_dns_lookups</a> = no </td> <td> 
Leave <a href="postconf.5.html#smtp_dns_support_level">smtp_dns_support_level</a> at the implicit default which is empty, unless
you need a higher support level such as DNSSEC. </td> </tr>

</table>

</blockquote>

<h3> <a name="xxx_use_tls"> Obsolete opportunistic TLS configuration
</a> </h3>

<p> The <a href="postconf.1.html">postconf(1)</a> command logs one of the following: </p>

<ul>

<li> support for parameter "<a href="postconf.5.html#lmtp_use_tls">lmtp_use_tls</a>" will be removed; instead, specify "<a href="postconf.5.html#lmtp_tls_security_level">lmtp_tls_security_level</a>"

<li> support for parameter "<a href="postconf.5.html#smtp_use_tls">smtp_use_tls</a>" will be removed; instead, specify "<a href="postconf.5.html#smtp_tls_security_level">smtp_tls_security_level</a>"

<li> support for parameter "<a href="postconf.5.html#smtpd_use_tls">smtpd_use_tls</a>" will be removed; instead, specify "<a href="postconf.5.html#smtpd_tls_security_level">smtpd_tls_security_level</a>"

</ul>

<p> There are similarly-named parameters and warnings for <a href="postscreen.8.html">postscreen(8)</a>
and <a href="tlsproxy.8.html">tlsproxy(8)</a>, but those parameters should rarely be specified
by hand. </p>

<p> Replace obsolete configuration with its replacement: </p>

<blockquote>

<table border="1">

<tr> <th width="33%"> Goal </th> <th width="33%"> Obsolete configuration </th> <th> Replacement configuration </th> </tr>

<tr> <td> To turn off TLS </td> <td> <i>xxx</i>_use_tls = no </td>
<td> <i>xxx</i>_security_level = none </td> </tr>

<tr> <td> To turn on opportunistic TLS </td> <td> <i>xxx</i>_use_tls
= yes </td> <td> <i>xxx</i>_security_level = may </td> </tr>

</table>

</blockquote>

<h3> <a name="xxx_enforce_tls"> Obsolete mandatory TLS configuration
</a> </h3>

<p> The <a href="postconf.1.html">postconf(1)</a> command logs one of the following: </p>

<ul>

<li> support for parameter "<a href="postconf.5.html#lmtp_enforce_tls">lmtp_enforce_tls</a>" will be removed; instead, specify "<a href="postconf.5.html#lmtp_tls_security_level">lmtp_tls_security_level</a>"

<li> support for parameter "<a href="postconf.5.html#smtp_enforce_tls">smtp_enforce_tls</a>" will be removed; instead, specify "<a href="postconf.5.html#smtp_tls_security_level">smtp_tls_security_level</a>"

<li> support for parameter "<a href="postconf.5.html#smtpd_enforce_tls">smtpd_enforce_tls</a>" will be removed; instead, specify "<a href="postconf.5.html#smtpd_tls_security_level">smtpd_tls_security_level</a>"

</ul>

<p> There are similarly-named parameters and warnings for <a href="postscreen.8.html">postscreen(8)</a>
and <a href="tlsproxy.8.html">tlsproxy(8)</a>, but those parameters should rarely be specified
by hand. </p>

<p> Replace obsolete configuration with its replacement: </p>

<blockquote>

<table border="1">

<tr> <th width="33%"> Goal </th> <th width="33%"> Obsolete configuration </th> <th> Replacement configuration </th> </tr>

<tr> <td> To turn off mandatory TLS </td> <td> <i>xxx</i>_enforce_tls
= no </td> <td> <i>xxx</i>_security_level = may </td> </tr>

<tr> <td> To turn on mandatory TLS </td> <td> <i>xxx</i>_enforce_tls
= yes </td> <td> <i>xxx</i>_security_level = encrypt </td> </tr>

</table>

</blockquote>

<h3> <a name="xxx_per_site"> Obsolete TLS policy table configuration
</a> </h3>

<p> The <a href="postconf.1.html">postconf(1)</a> command logs one of the following: </p>

<ul>

<li> support for parameter "<a href="postconf.5.html#lmtp_tls_per_site">lmtp_tls_per_site</a>" will be removed;
instead, specify "<a href="postconf.5.html#lmtp_tls_policy_maps">lmtp_tls_policy_maps</a>"

<li> support for parameter "<a href="postconf.5.html#smtp_tls_per_site">smtp_tls_per_site</a>" will be removed;
instead, specify "<a href="postconf.5.html#smtp_tls_policy_maps">smtp_tls_policy_maps</a>"

</ul>

<p> There is similarly-named parameter and warning for <a href="tlsproxy.8.html">tlsproxy(8)</a>,
but that parameter should rarely be specified by hand. </p>

<p> Unfortunately, this is more than a name change: the table format
has changed too, as has the table search process. There is no simple
conversion of the obsolete form to its replacement. </p>

<h3> <a name="check_relay_domains"> check_relay_domains </a> </h3>

<p> Depending on the Postfix version, the Postfix SMTP daemon logs
following warning: </p>

<ul>

<li> support for restriction "check_relay_domains" has been removed
in Postfix 3.9"; instead, specify "<a href="postconf.5.html#reject_unauth_destination">reject_unauth_destination</a>"

<li> support for restriction "check_relay_domains" will be removed
from Postfix; use "<a href="postconf.5.html#reject_unauth_destination">reject_unauth_destination</a>" instead

</ul>

<p> This feature was removed because it would relay based on the
client domain name, which is not robust. </p>

<p> Recommended configuration to prevent an "open relay" problem
with the SMTP service on port 25:
</p>

<blockquote>
<pre>
<a href="postconf.5.html">main.cf</a>:
    <a href="postconf.5.html#smtpd_recipient_restrictions">smtpd_recipient_restrictions</a> = 
        <a href="postconf.5.html#permit_mynetworks">permit_mynetworks</a>, 
        <a href="postconf.5.html#permit_sasl_authenticated">permit_sasl_authenticated</a>, 
        <a href="postconf.5.html#reject_unauth_destination">reject_unauth_destination</a>
        ...other restrictions...
</pre>
</blockquote>

<p> Or equivalent in <a href="postconf.5.html#smtpd_relay_restrictions">smtpd_relay_restrictions</a>. </p>

<h3> <a name="permit_mx_backup"> permit_mx_backup</a> </h3>

<p> The Postfix version 3.9 and later SMTP daemon logs the following
warning: </p>

<ul>

<li> support for restriction "<a href="postconf.5.html#permit_mx_backup">permit_mx_backup</a>" will be removed
from Postfix; instead, specify "<a href="postconf.5.html#relay_domains">relay_domains</a>"

</ul>

<p> This feature will be removed because it is too difficult to
configure recipient address validation, making Postfix a source of
backscatter bounces. </p>

<p> To specify the domains that Postfix will provide MX backup
service for, see <a href="STANDARD_CONFIGURATION_README.html#backup">
Configuring Postfix as primary or backup MX host for a remote
site</a>. </p>

<h3> <a name="reject_maps_rbl"> reject_maps_rbl</a> </h3>

<p> Depending on the Postfix version, the SMTP daemon logs one of
the following warnings: </p>

<ul>

<li> support for restriction "reject_maps_rbl" has been removed in
Postfix 3.9"; instead, specify "<a href="postconf.5.html#reject_rbl_client">reject_rbl_client</a> domain-name"

<li> support for restriction "reject_maps_rbl" will be removed from
Postfix; use "<a href="postconf.5.html#reject_rbl_client">reject_rbl_client</a> domain-name" instead

</ul>

<p> This feature was replaced because "MAPS RBL" is the name of a
specific reputation service. The <a href="postconf.5.html#reject_rbl_client">reject_rbl_client</a> feature provides
a superset of the reject_maps_rbl functionality. </p>

<p> Recommended configuration: </p>

<blockquote>
<pre>
<a href="postconf.5.html">main.cf</a>:
    <a href="postconf.5.html#smtpd_recipient_restrictions">smtpd_recipient_restrictions</a> =
        <a href="postconf.5.html#permit_mynetworks">permit_mynetworks</a>,
        <a href="postconf.5.html#permit_sasl_authenticated">permit_sasl_authenticated</a>,
        <a href="postconf.5.html#reject_unauth_destination">reject_unauth_destination</a>
        <a href="postconf.5.html#reject_rbl_client">reject_rbl_client</a> <i>domain-name</i>
        ...other restrictions...
</pre>
</blockquote>

<p> Where <i>domain-name</i> is the domain name of a DNS reputation service. </p>

<h3> <a name="permit_naked_ip_address"> permit_naked_ip_address</a> </h3>

<p> Depending on the Postfix version, the SMTP daemon logs one of
the following warnings: </p>

<ul>

<li> support for restriction "permit_naked_ip_address" has been
removed in Postfix 3.9"; instead, specify "<a href="postconf.5.html#permit_mynetworks">permit_mynetworks</a>" or
"<a href="postconf.5.html#permit_sasl_authenticated">permit_sasl_authenticated</a>"

<li> restriction permit_naked_ip_address is deprecated. Use
<a href="postconf.5.html#permit_mynetworks">permit_mynetworks</a> or <a href="postconf.5.html#permit_sasl_authenticated">permit_sasl_authenticated</a> instead

</ul>

<p> This feature was removed because it was easy to get a false
match when <a href="postconf.5.html#smtpd_recipient_restrictions">smtpd_recipient_restrictions</a> was intended to match a
remote SMTP client IP address. </p>

<p> Recommended configuration: </p>

<blockquote>
<pre>
<a href="postconf.5.html">main.cf</a>:
    <a href="postconf.5.html#smtpd_recipient_restrictions">smtpd_recipient_restrictions</a> =
        <a href="postconf.5.html#permit_mynetworks">permit_mynetworks</a>,
        <a href="postconf.5.html#permit_sasl_authenticated">permit_sasl_authenticated</a>,
        <a href="postconf.5.html#reject_unauth_destination">reject_unauth_destination</a>
        <a href="postconf.5.html#reject_rbl_client">reject_rbl_client</a> <i>domain-name</i>
        ...other restrictions...
</pre>
</blockquote>

<p> That is, no restriction on HELO or EHLO syntax. Such restrictions
ar rarely useful nowadays.

</body>

</html>