On 2021-01-21 05:03, Viktor Dukhovni wrote:
On Thu, Jan 21, 2021 at 04:37:19AM +0000, Pau Amma wrote:

http://www.postfix.org/postconf.5.html#inet_protocols says:
inet_protocols = all (DEFAULT)
http://www.postfix.org/IPV6_README.html says: inet_protocols = ipv4
  (DEFAULT: enable IPv4 only)

The inconsistency should be fixed.

Sure, but it may be worth noting that the default is actually
platform and compile-time configuration dependent.

I finally got around to this, or rather to the half that didn't have a mention of NO_IPV6. While there, I noticed a stray uppercase letter elsewhere (2x) and fixed that as well. Patch (generated from postfix-3.8-20220421) attached.

--
#BlackLivesMatter #TransWomenAreWomen #AccessibilityMatters #StandWithUkrainians
English: he/him/his (singular they/them/their/theirs OK)
French: il/le/lui (iel/iel and ielle/ielle OK)
Tagalog: siya/niya/kaniya (please avoid sila/nila/kanila)

diff -ru postfix-3.8-20220421/README_FILES/IPV6_README postfix-tmp/README_FILES/IPV6_README
--- postfix-3.8-20220421/README_FILES/IPV6_README	2021-12-20 23:12:03.000000000 +0100
+++ postfix-tmp/README_FILES/IPV6_README	2022-04-30 02:35:27.514645000 +0200
@@ -83,6 +83,9 @@
     Note 2: on older Linux and Solaris systems, the setting "inet_protocols =
     ipv6" will not prevent Postfix from accepting IPv4 connections.
 
+    Note 3: to pretend IPv6 isn't supported (for testing only), use the NO_IPV6
+    compilation option.
+
   * The other new parameter is smtp_bind_address6. This sets the local
     interface address for outgoing IPv6 SMTP connections, just like the
     smtp_bind_address parameter does for IPv4:
diff -ru postfix-3.8-20220421/html/INSTALL.html postfix-tmp/html/INSTALL.html
--- postfix-3.8-20220421/html/INSTALL.html	2021-12-20 23:11:55.000000000 +0100
+++ postfix-tmp/html/INSTALL.html	2022-04-30 02:40:06.987062000 +0200
@@ -837,7 +837,7 @@
 <tr> <td> </td> <td> -DNO_IPV6 </td> <td> Do not build with IPv6
 support. By default, IPv6 support is compiled in on platforms that
 are known to have IPv6 support. Note: this directive is for debugging
-And testing only. It is not guaranteed to work on all platforms.
+and testing only. It is not guaranteed to work on all platforms.
 If you don't want IPv6 support, set "<a href="postconf.5.html#inet_protocols">inet_protocols</a> = ipv4" in
 <a href="postconf.5.html">main.cf</a>.
 </td> </tr>
diff -ru postfix-3.8-20220421/proto/INSTALL.html postfix-tmp/proto/INSTALL.html
--- postfix-3.8-20220421/proto/INSTALL.html	2021-12-20 23:11:11.000000000 +0100
+++ postfix-tmp/proto/INSTALL.html	2022-04-30 02:40:25.455297000 +0200
@@ -837,7 +837,7 @@
 <tr> <td> </td> <td> -DNO_IPV6 </td> <td> Do not build with IPv6
 support. By default, IPv6 support is compiled in on platforms that
 are known to have IPv6 support. Note: this directive is for debugging
-And testing only. It is not guaranteed to work on all platforms.
+and testing only. It is not guaranteed to work on all platforms.
 If you don't want IPv6 support, set "inet_protocols = ipv4" in
 main.cf.
 </td> </tr>

Reply via email to