Bump compatibility_level
authorAlex Dehnert <alex@dehnerts.com>
Sun, 19 Oct 2025 03:06:40 +0000 (03:06 +0000)
committerAlex Dehnert <alex@dehnerts.com>
Sun, 19 Oct 2025 03:06:40 +0000 (03:06 +0000)
Also since one of the things that does is swap the relative order of
smtpd_relay_restrictions and smtpd_recipient_restrictions, reformat the former
so it's easier to see that it's identical to the latter.

main.cf

diff --git a/main.cf b/main.cf
index dc4f7d4ca1894c12026d9c2c3918fd2da1d49575..f28dd16823f14b85ab0959ed1f60e97865f6dbcd 100644 (file)
--- a/main.cf
+++ b/main.cf
@@ -1,7 +1,9 @@
 # Global Postfix configuration file. This file lists only a subset
 # of all 300+ parameters. See the postconf(5) manual page for a
 # complete list.
-#
+
+compatibility_level = 3.6
+
 # The general format of each line is: parameter = value. Lines
 # that begin with whitespace continue the previous line. A value can
 # contain references to other $names or ${name}s.
@@ -719,7 +721,11 @@ home_mailbox = .maildir/
 
 # 2005-01-19
 owner_request_special = no
-smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated permit_auth_destination reject_unauth_destination
+smtpd_relay_restrictions =
+    permit_mynetworks
+    permit_sasl_authenticated
+    permit_auth_destination
+    reject_unauth_destination
 transport_maps =
     regexp:/opt/mailman/core/var/data/postfix_lmtp
 relay_domains =