[pfx] Should the configuration upgrade process still append "inet_protocols = ipv4"?

Mel P via Postfix-users <[email protected]> Mon, 25 May 2026 04:26:13 -0700
Newsgroups gmane.mail.postfix.user
Message-ID <[email protected]>
 From the 2.9 release notes:

- The default inet_protocols value is now "all" instead of "ipv4",
   meaning use both IPv4 and IPv6.

   To avoid an unexpected loss of performance for sites without
   global IPv6 connectivity, the commands "make upgrade" and "postfix
   upgrade-configuration" now append "inet_protocols = ipv4" to
   main.cf when no explicit inet_protocols setting is already present.
   This workaround will be removed in a future release.


That was from almost 15 years ago.  Is it time to revisit this and allow 
main.cf without an explicit inet_protocols define?

I ask because I just caught that behaviour during an upgrade test and, 
had I not caught it, it would have knocked my publicly-IPv6-only 
mailhosts offline.


p.s., If you want an effective anti-spam measure, make your MX 
IPv6-only.  Most bots are still IPv4-only.  As a bonus, hyperspammers 
like Microsoft, Sendgrid, and Google massively fail at fallback.  If you 
don't need broad reach to the general internet, why not?  /sarcasm



_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]