]> git.ipfire.org Git - thirdparty/postfix.git/commitdiff
postfix-3.6-20210215
authorWietse Venema <wietse@porcupine.org>
Mon, 15 Feb 2021 05:00:00 +0000 (00:00 -0500)
committerViktor Dukhovni <postfix-users@dukhovni.org>
Wed, 17 Feb 2021 05:03:39 +0000 (03:03 -0200)
25 files changed:
postfix/HISTORY
postfix/README_FILES/COMPATIBILITY_README
postfix/README_FILES/IPV6_README
postfix/WISHLIST
postfix/html/COMPATIBILITY_README.html
postfix/html/IPV6_README.html
postfix/html/lmtp.8.html
postfix/html/master.8.html
postfix/html/postconf.5.html
postfix/html/postsuper.1.html
postfix/html/smtp.8.html
postfix/html/smtpd.8.html
postfix/man/man1/postsuper.1
postfix/man/man5/postconf.5
postfix/man/man8/master.8
postfix/man/man8/smtp.8
postfix/man/man8/smtpd.8
postfix/proto/IPV6_README.html
postfix/proto/postconf.proto
postfix/src/global/mail_params.c
postfix/src/global/mail_version.h
postfix/src/master/master.c
postfix/src/postsuper/postsuper.c
postfix/src/smtp/smtp.c
postfix/src/smtpd/smtpd.c

index 84639fa644a8b1e8de730a41c2ed0f3bf16808aa..486df5dcce0537cbe7d36dd08810d191b585038c 100644 (file)
@@ -25388,3 +25388,13 @@ Apologies for any names omitted.
        Flipped a bit in the smtpd_relay_before_recipient_restrictions
        implementation. File: smtpd/smtpd_check.c.
 
+20210206
+
+       Documentation: the inet_protocols default setting is compile-time
+       dependent. Files: proto/postconf.proto, proto/IPV6_README.html,
+       and documentation in smtpd/smtpd.c, smtp/smtp.c, master/master.c.
+
+20210212
+
+       Documentation: added a jq example to the postsuper(1) manpage.
+       File: postsuper/postsuper.c.
index 8dc4f7d25ba22ac31dfb1573dce51734197935b6..511f790ea9911427881d72acf94fe49d8cfedc08 100644 (file)
@@ -323,7 +323,7 @@ behavior.
     designed to enforce spam blocking policy. Both are evaluated while replying
     to the RCPT TO command, and both support the same features.
 
-When the compatibility_level less than 3.6, and the
+When the compatibility_level is less than 3.6, and the
 smtpd_relay_before_recipient_restrictions parameter is left at its implicit
 default setting, Postfix may log the following message:
 
index 872756ee91b9ebd314397c1eacc9f71c3b2e45fd..df6ad7ac29ffd760d676fb51d0c22000daaaf63f 100644 (file)
@@ -69,38 +69,19 @@ configuration work with Postfix.
 
         /etc/postfix/main.cf:
             # You must stop/start Postfix after changing this parameter.
-            inet_protocols = ipv4       (DEFAULT: enable IPv4 only)
             inet_protocols = all        (enable IPv4, and IPv6 if supported)
+            inet_protocols = ipv4       (enable IPv4 only)
             inet_protocols = ipv4, ipv6 (enable both IPv4 and IPv6)
             inet_protocols = ipv6       (enable IPv6 only)
 
-    By default, Postfix uses IPv4 only, because most systems aren't attached to
-    an IPv6 network.
-
-      o On systems with combined IPv4/IPv6 stacks, attempts to deliver mail via
-        IPv6 would always fail with "network unreachable", and those attempts
-        would only slow down Postfix.
-
-      o Linux kernels don't even load IPv6 protocol support by default. Any
-        attempt to use it would fail immediately.
+    The default is compile-time dependent: "all" when Postfix is built on a
+    software distribution with IPv6 support, "ipv4" otherwise.
 
     Note 1: you must stop and start Postfix after changing the inet_protocols
     configuration parameter.
 
-    Note 2: if you see error messages like the following, then you're running
-    Linux and need to turn on IPv6 in the kernel: see http://www.ipv6.org/ for
-    hints and tips. Unlike other systems, Linux does not have a combined stack
-    for IPv4 and IPv6, and IPv6 protocol support is not loaded by default.
-
-        postconf: warning: inet_protocols: IPv6 support is disabled: Address
-        family not supported by protocol
-        postconf: warning: inet_protocols: configuring for IPv4 support only
-
-    Note 3: on older Linux and Solaris systems, the setting "inet_protocols =
-    ipv6" will not prevent Postfix from accepting IPv4 connections. Postfix
-    will present the client IP addresses in IPv6 format, though. In all other
-    cases, Postfix always presents IPv4 client IP addresses in the traditional
-    dotted quad IPv4 format.
+    Note 2: on older Linux and Solaris systems, the setting "inet_protocols =
+    ipv6" will not prevent Postfix from accepting IPv4 connections.
 
   * The other new parameter is smtp_bind_address6. This sets the local
     interface address for outgoing IPv6 SMTP connections, just like the
@@ -137,8 +118,8 @@ K\bKn\bno\bow\bwn\bn L\bLi\bim\bmi\bit\bta\bat\bti\bio\bon\bns\bs
     IPv4 outgoing connection attempts is configurable with the
     smtp_address_preference parameter.
 
-  * Postfix versions before 2.6 do not support DNSBL (real-time blackhole list)
-    lookups for IPv6 client IP addresses.
+  * Postfix versions before 2.6 do not support DNSBL (DNS blocklist) lookups
+    for IPv6 client IP addresses.
 
   * IPv6 does not have class A, B, C, etc. networks. With IPv6 networks, the
     setting "mynetworks_style = class" has the same effect as the setting
@@ -165,8 +146,8 @@ Strik and others, but differs in a few minor ways.
   * main.cf: Specify "inet_interfaces = loopback-only" to listen on loopback
     network interfaces only.
 
-  * The lmtp_bind_address and lmtp_bind_address6 features were omitted. The
-    Postfix LMTP client will be absorbed into the SMTP client, so there is no
+  * The lmtp_bind_address and lmtp_bind_address6 features were omitted. Postfix
+    version 2.3 merged the LMTP client into the SMTP client, so there was no
     reason to keep adding features to the LMTP client.
 
   * The SMTP server now requires that IPv6 addresses in SMTP commands are
index 0cc4af072580f315f617098b43b2573e84b0ae6d..8c5556202fdad2e47c3ca4878bc94f8a758a66d9 100644 (file)
@@ -1,8 +1,16 @@
 Wish list:
 
-       http://www.postfix.org/postconf.5.html#inet_protocols default
-       differs from http://www.postfix.org/IPV6_README.html
-       and it's compile-time dependent.
+       Try to make the master throttle more distrusting. Currently,
+       the master throttles a service after a child process cannot be
+       created (fork() fails), or if a child process fails upon its
+       first use. The master always unthrottles the service if a process
+       handles a client successfully. This is sufficient to mitigate
+       local configuration errors. It also slows down stupid remote
+       attacks as long as malicious traffic dominates benign traffic.
+       Perhaps monitor a crashing percentage?
+
+       More accurate address verification: do a quota check before
+       reporting that a local(8) or virtual(8) recipient is deliverable.
 
        Eliminate duplicate user_acl check from sendmail, and pass
        the result through the postdrop-to-sendmail protocol. This
@@ -55,9 +63,6 @@ Wish list:
        resolver feature sets gracefully: an unsupported request
        will result in an error status, not program termination.
 
-       DNSSEC end-to-end test, probing a configurable zone (".")
-       and resource type (default: NS).
-
        When a secondary instance has no multi_instance_name set,
 `      postmulti -i won't be able to find it.
 
index 06f981a5ecc760c2180c048e35c5f834c2f498eb..089b4b0d7a75592895deafd97f86c51f812c91c1 100644 (file)
@@ -479,7 +479,7 @@ primarily designed to enforce a mail relaying policy, while
 blocking policy. Both are evaluated while replying to the RCPT TO
 command, and both support the same features. </p> </blockquote>
 
-<p> When the <a href="postconf.5.html#compatibility_level">compatibility_level</a> less than 3.6, and the
+<p> When the <a href="postconf.5.html#compatibility_level">compatibility_level</a> is less than 3.6, and the
 <a href="postconf.5.html#smtpd_relay_before_recipient_restrictions">smtpd_relay_before_recipient_restrictions</a> parameter is left at its
 implicit default setting, Postfix may log the following message: </p>
 
index 27344f15dc6e9ce3513c3e6752da92929b094ab0..eb619e8b1fd9f722e06792ee6f025733d6dee9f3 100644 (file)
@@ -111,49 +111,22 @@ will use when it makes network connections.  </p>
 <pre>
 /etc/postfix/<a href="postconf.5.html">main.cf</a>:
     # You must stop/start Postfix after changing this parameter.
-    <a href="postconf.5.html#inet_protocols">inet_protocols</a> = ipv4       (DEFAULT: enable IPv4 only)
     <a href="postconf.5.html#inet_protocols">inet_protocols</a> = all        (enable IPv4, and IPv6 if supported)
+    <a href="postconf.5.html#inet_protocols">inet_protocols</a> = ipv4       (enable IPv4 only)
     <a href="postconf.5.html#inet_protocols">inet_protocols</a> = ipv4, ipv6 (enable both IPv4 and IPv6)
     <a href="postconf.5.html#inet_protocols">inet_protocols</a> = ipv6       (enable IPv6 only)
 </pre>
 </blockquote>
 
-<p> By default, Postfix uses IPv4 only, because most systems aren't
-attached to an IPv6 network. </p>
-
-<ul>
-
-<li> <p> On systems with combined IPv4/IPv6 stacks, attempts to
-deliver mail via IPv6 would always fail with "network unreachable",
-and those attempts would only slow down Postfix. </p>
-
-<li> <p> Linux kernels don't even load IPv6 protocol support by
-default. Any attempt to use it would fail immediately. </p>
-
-</ul>
+<p> The default is compile-time dependent: "all" when Postfix is built
+on a software distribution with IPv6 support, "ipv4" otherwise. </p>
 
 <p> Note 1: you must stop and start Postfix after changing the
 <a href="postconf.5.html#inet_protocols">inet_protocols</a> configuration parameter. </p>
 
-<p> Note 2: if you see error messages like the following, then
-you're running Linux and need to turn on IPv6 in the kernel: see
-<a href="http://www.ipv6.org/">http://www.ipv6.org/</a> for hints and tips. Unlike other systems,
-Linux does not have a combined stack for IPv4 and IPv6, and IPv6
-protocol support is not loaded by default.  </p>
-
-<blockquote>
-<pre>
-postconf: warning: <a href="postconf.5.html#inet_protocols">inet_protocols</a>: IPv6 support is disabled: Address family not supported by protocol
-postconf: warning: <a href="postconf.5.html#inet_protocols">inet_protocols</a>: configuring for IPv4 support only
-</pre>
-</blockquote>
-
-<p> Note 3: on older Linux and Solaris systems, the setting
+<p> Note 2: on older Linux and Solaris systems, the setting
 "<a href="postconf.5.html#inet_protocols">inet_protocols</a> = ipv6" will not prevent Postfix from
-accepting IPv4 connections.  Postfix will present the client IP
-addresses in IPv6 format, though. In all other cases, Postfix always
-presents IPv4 client IP addresses in the traditional dotted quad
-IPv4 format.  </p>
+accepting IPv4 connections. </p>
 
 <li> <p> The other new parameter is <a href="postconf.5.html#smtp_bind_address6">smtp_bind_address6</a>.
 This sets the local interface address for outgoing IPv6 SMTP
@@ -209,8 +182,8 @@ over IPv6 before trying IPv4.  With more recent Postfix versions,
 the order of IPv6 versus IPv4 outgoing connection attempts is
 configurable with the <a href="postconf.5.html#smtp_address_preference">smtp_address_preference</a> parameter.  </p>
 
-<li> <p> Postfix versions before 2.6 do not support DNSBL (real-time
-blackhole list) lookups for IPv6 client IP addresses. </p>
+<li> <p> Postfix versions before 2.6 do not support DNSBL (DNS
+blocklist) lookups for IPv6 client IP addresses. </p>
 
 <li> <p> IPv6 does not have class A, B, C, etc. networks. With IPv6
 networks, the setting "<a href="postconf.5.html#mynetworks_style">mynetworks_style</a> = class" has the
@@ -249,8 +222,8 @@ receiving mail. </p>
 to listen on loopback network interfaces only. </p>
 
 <li> <p> The <a href="postconf.5.html#lmtp_bind_address">lmtp_bind_address</a> and <a href="postconf.5.html#lmtp_bind_address6">lmtp_bind_address6</a>
-features were omitted. The Postfix LMTP client will be absorbed
-into the SMTP client, so there is no reason to keep adding features
+features were omitted. Postfix version 2.3 merged the LMTP client
+into the SMTP client, so there was no reason to keep adding features
 to the LMTP client. </p>
 
 <li> <p> The SMTP server now requires that IPv6 addresses in SMTP
index 07907f40fe8721f231716ab611b0dfc0c1297478..427a3569a5e1c4030332c6ed98a13d0dcc0c3794 100644 (file)
@@ -639,7 +639,7 @@ SMTP(8)                                                                SMTP(8)
 
        Available in Postfix version 3.1 and later:
 
-       <b><a href="postconf.5.html#smtp_tls_dane_insecure_mx_policy">smtp_tls_dane_insecure_mx_policy</a> (dane)</b>
+       <b><a href="postconf.5.html#smtp_tls_dane_insecure_mx_policy">smtp_tls_dane_insecure_mx_policy</a> (see 'postconf -d' output)</b>
               The TLS policy for MX hosts with "secure" TLSA records when  the
               nexthop  destination  security  level is <b>dane</b>, but the MX record
               was found via an "insecure" MX lookup.
@@ -880,7 +880,7 @@ SMTP(8)                                                                SMTP(8)
               The  network  interface addresses that this mail system receives
               mail on.
 
-       <b><a href="postconf.5.html#inet_protocols">inet_protocols</a> (all)</b>
+       <b><a href="postconf.5.html#inet_protocols">inet_protocols</a> (see 'postconf -d output')</b>
               The Internet protocols Postfix will attempt to use  when  making
               or accepting connections.
 
index d72151ca97d2cd730efc7db452cecb9cadbbf773..f85b7d90fa7e1f43deac2592e9f1f0a951b046f3 100644 (file)
@@ -150,7 +150,7 @@ MASTER(8)                                                            MASTER(8)
               The network interface addresses that this mail  system  receives
               mail on.
 
-       <b><a href="postconf.5.html#inet_protocols">inet_protocols</a> (all)</b>
+       <b><a href="postconf.5.html#inet_protocols">inet_protocols</a> (see 'postconf -d output')</b>
               The  Internet  protocols Postfix will attempt to use when making
               or accepting connections.
 
index 6753f0ed76cb6c727b0b7c73da53d68af5361c86..cb63ebe654953d967d58e441511541de3530456f 100644 (file)
@@ -4106,7 +4106,7 @@ Examples:
 </DD>
 
 <DT><b><a name="inet_protocols">inet_protocols</a>
-(default: all)</b></DT><DD>
+(default: see 'postconf -d output')</b></DT><DD>
 
 <p> The Internet protocols Postfix will attempt to use when making
 or accepting connections. Specify one or more of "ipv4"
index 3f952b5a61c18b4cee725c8a13872859cb9f9c2d..d23e3b5bdd435c60785c07b9c7ed157f48da1dc4 100644 (file)
@@ -44,6 +44,15 @@ POSTSUPER(1)                                                      POSTSUPER(1)
               input.  For example, to delete all mail with exactly one recipi-
               ent <b>user@example.com</b>:
 
+              postqueue -j | jq '
+                  # See JSON OBJECT FORMAT section in the <a href="postqueue.1.html">postqueue(1)</a> manpage
+                  select(.recipients[0].address == "user@example.com")
+                  | select(.recipients[1].address == null)
+                  | .queue_id
+               ' | postsuper -d -
+
+              Or the historical form:
+
               mailq | tail -n +2 | grep -v '^ *(' | awk  'BEGIN { RS = "" }
                   # $7=sender, $8=recipient1, $9=recipient2
                   { if ($8 == "user@example.com" &amp;&amp; $9 == "")
index 07907f40fe8721f231716ab611b0dfc0c1297478..427a3569a5e1c4030332c6ed98a13d0dcc0c3794 100644 (file)
@@ -639,7 +639,7 @@ SMTP(8)                                                                SMTP(8)
 
        Available in Postfix version 3.1 and later:
 
-       <b><a href="postconf.5.html#smtp_tls_dane_insecure_mx_policy">smtp_tls_dane_insecure_mx_policy</a> (dane)</b>
+       <b><a href="postconf.5.html#smtp_tls_dane_insecure_mx_policy">smtp_tls_dane_insecure_mx_policy</a> (see 'postconf -d' output)</b>
               The TLS policy for MX hosts with "secure" TLSA records when  the
               nexthop  destination  security  level is <b>dane</b>, but the MX record
               was found via an "insecure" MX lookup.
@@ -880,7 +880,7 @@ SMTP(8)                                                                SMTP(8)
               The  network  interface addresses that this mail system receives
               mail on.
 
-       <b><a href="postconf.5.html#inet_protocols">inet_protocols</a> (all)</b>
+       <b><a href="postconf.5.html#inet_protocols">inet_protocols</a> (see 'postconf -d output')</b>
               The Internet protocols Postfix will attempt to use  when  making
               or accepting connections.
 
index 8304fc70c2b336e24efc2024632371d050a230ab..3e88dc329943fbc0aa14a15547405e911a45d8ea 100644 (file)
@@ -766,7 +766,7 @@ SMTPD(8)                                                              SMTPD(8)
               The network interface addresses that this mail  system  receives
               mail on by way of a proxy or network address translation unit.
 
-       <b><a href="postconf.5.html#inet_protocols">inet_protocols</a> (all)</b>
+       <b><a href="postconf.5.html#inet_protocols">inet_protocols</a> (see 'postconf -d output')</b>
               The  Internet  protocols Postfix will attempt to use when making
               or accepting connections.
 
index 43294f0a954af2e917dc1379860a9332add41b79..f8a909c67537efc8b921e06fd977f628e0ee8fc5 100644 (file)
@@ -46,6 +46,17 @@ from standard input. For example, to delete all mail
 with exactly one recipient \fBuser@example.com\fR:
 .sp
 .nf
+postqueue \-j | jq '
+    # See JSON OBJECT FORMAT section in the postqueue(1) manpage
+    select(.recipients[0].address == "user@example.com")
+    | select(.recipients[1].address == null)
+    | .queue_id
+ ' | postsuper \-d \-
+.fi
+.sp
+Or the historical form:
+.sp
+.nf
 mailq | tail \-n +2 | grep \-v '^ *(' | awk  'BEGIN { RS = "" }
     # $7=sender, $8=recipient1, $9=recipient2
     { if ($8 == "user@example.com" && $9 == "")
index d449c1ced86a26fa99a89376f0dacab2a4fdda39..6050debf6c4ceea8b0426a64b5ab1b8967fcf44f 100644 (file)
@@ -2579,7 +2579,7 @@ inet_interfaces = 192.168.1.2, 127.0.0.1
 .fi
 .ad
 .ft R
-.SH inet_protocols (default: all)
+.SH inet_protocols (default: see 'postconf \-d output')
 The Internet protocols Postfix will attempt to use when making
 or accepting connections. Specify one or more of "ipv4"
 or "ipv6", separated by whitespace or commas. The form
index 4517fa043d7d3506532abdba5adddc43323db679..84b5d1f3cc02e796a4351735038b911dd8a391b3 100644 (file)
@@ -153,7 +153,7 @@ invoked with the \-D option.
 .IP "\fBinet_interfaces (all)\fR"
 The network interface addresses that this mail system receives
 mail on.
-.IP "\fBinet_protocols (all)\fR"
+.IP "\fBinet_protocols (see 'postconf -d output')\fR"
 The Internet protocols Postfix will attempt to use when making
 or accepting connections.
 .IP "\fBimport_environment (see 'postconf -d' output)\fR"
index 16084d1044df5df8271978554d1c35e8c0d3e399..613c71fde701c68c630bff6f45a54b175a1e841c 100644 (file)
@@ -582,7 +582,7 @@ Request that the Postfix SMTP client connects using the
 legacy SMTPS protocol instead of using the STARTTLS command.
 .PP
 Available in Postfix version 3.1 and later:
-.IP "\fBsmtp_tls_dane_insecure_mx_policy (dane)\fR"
+.IP "\fBsmtp_tls_dane_insecure_mx_policy (see 'postconf -d' output)\fR"
 The TLS policy for MX hosts with "secure" TLSA records when the
 nexthop destination security level is \fBdane\fR, but the MX
 record was found via an "insecure" MX lookup.
@@ -789,7 +789,7 @@ Disable DNS lookups in the Postfix SMTP and LMTP clients.
 .IP "\fBinet_interfaces (all)\fR"
 The network interface addresses that this mail system receives
 mail on.
-.IP "\fBinet_protocols (all)\fR"
+.IP "\fBinet_protocols (see 'postconf -d output')\fR"
 The Internet protocols Postfix will attempt to use when making
 or accepting connections.
 .IP "\fBipc_timeout (3600s)\fR"
index 180ea63591aac24418966657f791d90bd6269e9f..24358712fd6ce1f9208f96859c21d86ca0fb30a2 100644 (file)
@@ -686,7 +686,7 @@ mail on.
 .IP "\fBproxy_interfaces (empty)\fR"
 The network interface addresses that this mail system receives mail
 on by way of a proxy or network address translation unit.
-.IP "\fBinet_protocols (all)\fR"
+.IP "\fBinet_protocols (see 'postconf -d output')\fR"
 The Internet protocols Postfix will attempt to use when making
 or accepting connections.
 .IP "\fBlocal_recipient_maps (proxy:unix:passwd.byname $alias_maps)\fR"
index b7e0408e05391e960e8204eff0a979fc3dc83040..db0dc61e698d5c334e794466ecc7f447e364f7d5 100644 (file)
@@ -111,49 +111,22 @@ will use when it makes network connections.  </p>
 <pre>
 /etc/postfix/main.cf:
     # You must stop/start Postfix after changing this parameter.
-    inet_protocols = ipv4       (DEFAULT: enable IPv4 only)
     inet_protocols = all        (enable IPv4, and IPv6 if supported)
+    inet_protocols = ipv4       (enable IPv4 only)
     inet_protocols = ipv4, ipv6 (enable both IPv4 and IPv6)
     inet_protocols = ipv6       (enable IPv6 only)
 </pre>
 </blockquote>
 
-<p> By default, Postfix uses IPv4 only, because most systems aren't
-attached to an IPv6 network. </p>
-
-<ul>
-
-<li> <p> On systems with combined IPv4/IPv6 stacks, attempts to
-deliver mail via IPv6 would always fail with "network unreachable",
-and those attempts would only slow down Postfix. </p>
-
-<li> <p> Linux kernels don't even load IPv6 protocol support by
-default. Any attempt to use it would fail immediately. </p>
-
-</ul>
+<p> The default is compile-time dependent: "all" when Postfix is built
+on a software distribution with IPv6 support, "ipv4" otherwise. </p>
 
 <p> Note 1: you must stop and start Postfix after changing the
 inet_protocols configuration parameter. </p>
 
-<p> Note 2: if you see error messages like the following, then
-you're running Linux and need to turn on IPv6 in the kernel: see
-http://www.ipv6.org/ for hints and tips. Unlike other systems,
-Linux does not have a combined stack for IPv4 and IPv6, and IPv6
-protocol support is not loaded by default.  </p>
-
-<blockquote>
-<pre>
-postconf: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
-postconf: warning: inet_protocols: configuring for IPv4 support only
-</pre>
-</blockquote>
-
-<p> Note 3: on older Linux and Solaris systems, the setting
+<p> Note 2: on older Linux and Solaris systems, the setting
 "inet_protocols = ipv6" will not prevent Postfix from
-accepting IPv4 connections.  Postfix will present the client IP
-addresses in IPv6 format, though. In all other cases, Postfix always
-presents IPv4 client IP addresses in the traditional dotted quad
-IPv4 format.  </p>
+accepting IPv4 connections. </p>
 
 <li> <p> The other new parameter is smtp_bind_address6.
 This sets the local interface address for outgoing IPv6 SMTP
@@ -209,8 +182,8 @@ over IPv6 before trying IPv4.  With more recent Postfix versions,
 the order of IPv6 versus IPv4 outgoing connection attempts is
 configurable with the smtp_address_preference parameter.  </p>
 
-<li> <p> Postfix versions before 2.6 do not support DNSBL (real-time
-blackhole list) lookups for IPv6 client IP addresses. </p>
+<li> <p> Postfix versions before 2.6 do not support DNSBL (DNS
+blocklist) lookups for IPv6 client IP addresses. </p>
 
 <li> <p> IPv6 does not have class A, B, C, etc. networks. With IPv6
 networks, the setting "mynetworks_style = class" has the
@@ -249,8 +222,8 @@ receiving mail. </p>
 to listen on loopback network interfaces only. </p>
 
 <li> <p> The lmtp_bind_address and lmtp_bind_address6
-features were omitted. The Postfix LMTP client will be absorbed
-into the SMTP client, so there is no reason to keep adding features
+features were omitted. Postfix version 2.3 merged the LMTP client
+into the SMTP client, so there was no reason to keep adding features
 to the LMTP client. </p>
 
 <li> <p> The SMTP server now requires that IPv6 addresses in SMTP
index 39e2b8901c50cd3997ffdbbb2cc534253708d148..1f50b82b87867ee41550c407167cd95cf19e812f 100644 (file)
@@ -2008,7 +2008,7 @@ inet_interfaces = 127.0.0.1, [::1] (Postfix version 2.2 and later)
 inet_interfaces = 192.168.1.2, 127.0.0.1
 </pre>
 
-%PARAM inet_protocols all
+%PARAM inet_protocols see 'postconf -d output'
 
 <p> The Internet protocols Postfix will attempt to use when making
 or accepting connections. Specify one or more of "ipv4"
index 09e0884b9196eabc9706f91b8bddffac5fa186a0..f54eb7523d5081d40074b040ee1bb00f24b1c37d 100644 (file)
@@ -374,7 +374,6 @@ char   *var_maillog_file_stamp;
 char   *var_postlog_service;
 
 char   *var_dnssec_probe;
-bool    var_relay_before_rcpt_checks;
 
 const char null_format_string[1] = "";
 
@@ -749,7 +748,6 @@ void    mail_params_init()
        /* read and process the following before opening tables. */
        VAR_SMTPUTF8_ENABLE, DEF_SMTPUTF8_ENABLE, &var_smtputf8_enable,
        VAR_IDNA2003_COMPAT, DEF_IDNA2003_COMPAT, &var_idna2003_compat,
-       VAR_RELAY_BEFORE_RCPT_CHECKS, DEF_RELAY_BEFORE_RCPT_CHECKS, &var_relay_before_rcpt_checks,
        0,
     };
     static const CONFIG_STR_FN_TABLE function_str_defaults[] = {
index bdbb35f48e01041ff673a57bfb27406c80189221..93a95dd0e23d238065cbdc7d26063efbdcd38b6f 100644 (file)
@@ -20,7 +20,7 @@
   * Patches change both the patchlevel and the release date. Snapshots have no
   * patchlevel; they change the release date only.
   */
-#define MAIL_RELEASE_DATE      "20210201"
+#define MAIL_RELEASE_DATE      "20210215"
 #define MAIL_VERSION_NUMBER    "3.6"
 
 #ifdef SNAPSHOT
index d9017789b72893abf9bac4920f89ab7b596b918d..0faa43ace9f1a40259ce6dbedbfd25eb0b7e4d3d 100644 (file)
 /* .IP "\fBinet_interfaces (all)\fR"
 /*     The network interface addresses that this mail system receives
 /*     mail on.
-/* .IP "\fBinet_protocols (all)\fR"
+/* .IP "\fBinet_protocols (see 'postconf -d output')\fR"
 /*     The Internet protocols Postfix will attempt to use when making
 /*     or accepting connections.
 /* .IP "\fBimport_environment (see 'postconf -d' output)\fR"
index cab381419e50c2e64d5aed0d125ae37fc4b76148..dfd285757b9fe995e6bc64a00ff39d0799af7626 100644 (file)
 /*     with exactly one recipient \fBuser@example.com\fR:
 /* .sp
 /* .nf
+/*     postqueue -j | jq '
+/*         # See JSON OBJECT FORMAT section in the postqueue(1) manpage
+/*         select(.recipients[0].address == "user@example.com")
+/*         | select(.recipients[1].address == null)
+/*         | .queue_id
+/*      ' | postsuper -d -
+/* .fi
+/* .sp
+/*     Or the historical form:
+/* .sp
+/* .nf
 /*     mailq | tail -n +2 | grep -v '^ *(' | awk  'BEGIN { RS = "" }
 /*         # $7=sender, $8=recipient1, $9=recipient2
 /*         { if ($8 == "user@example.com" && $9 == "")
index 3c8d397aa03a8d85ededae0961340ea2fb64a3b2..b2ef7ac93641926d33a41c651f5a0f462561abd0 100644 (file)
 /*     legacy SMTPS protocol instead of using the STARTTLS command.
 /* .PP
 /*     Available in Postfix version 3.1 and later:
-/* .IP "\fBsmtp_tls_dane_insecure_mx_policy (dane)\fR"
+/* .IP "\fBsmtp_tls_dane_insecure_mx_policy (see 'postconf -d' output)\fR"
 /*     The TLS policy for MX hosts with "secure" TLSA records when the
 /*     nexthop destination security level is \fBdane\fR, but the MX
 /*     record was found via an "insecure" MX lookup.
 /* .IP "\fBinet_interfaces (all)\fR"
 /*     The network interface addresses that this mail system receives
 /*     mail on.
-/* .IP "\fBinet_protocols (all)\fR"
+/* .IP "\fBinet_protocols (see 'postconf -d output')\fR"
 /*     The Internet protocols Postfix will attempt to use when making
 /*     or accepting connections.
 /* .IP "\fBipc_timeout (3600s)\fR"
index 5cac517d3a5ec26784272eafaaf1aa2d0879fa6a..43a14bbf4e88bf239981a94494b95b1e45b1a3b4 100644 (file)
 /* .IP "\fBproxy_interfaces (empty)\fR"
 /*     The network interface addresses that this mail system receives mail
 /*     on by way of a proxy or network address translation unit.
-/* .IP "\fBinet_protocols (all)\fR"
+/* .IP "\fBinet_protocols (see 'postconf -d output')\fR"
 /*     The Internet protocols Postfix will attempt to use when making
 /*     or accepting connections.
 /* .IP "\fBlocal_recipient_maps (proxy:unix:passwd.byname $alias_maps)\fR"
@@ -1462,6 +1462,7 @@ char   *var_tlsproxy_service;
 
 char   *var_smtpd_uproxy_proto;
 int     var_smtpd_uproxy_tmout;
+bool    var_relay_before_rcpt_checks;
 
  /*
   * Silly little macros.