Currently if you uncomment the submission or smtps services in master.cf
you will end up with "undefined parameter" warnings due to the mua_*
variables that reference non-existent corresponding settings in main.cf.
This patch is just an attempt to do something about that.
Peter
--- postfix-3.6.0-RC1/conf/master.cf.orig 2021-04-25 22:22:16.060493730
+1200
+++ postfix-3.6.0-RC1/conf/master.cf 2021-04-25 22:31:11.924818315 +1200
@@ -14,6 +14,9 @@
#smtpd pass - - n - - smtpd
#dnsblog unix - - n - 0 dnsblog
#tlsproxy unix - - n - 0 tlsproxy
+#
+# In addition to the following you should also uncomment the
corresponding mua_*
+# lines in main.cf as well.
# Choose one: enable submission for loopback clients only, or for any
client.
#127.0.0.1:submission inet n - n - - smtpd
#submission inet n - n - - smtpd
@@ -28,6 +31,9 @@
# -o smtpd_recipient_restrictions=
# -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
# -o milter_macro_daemon_name=ORIGINATING
+#
+# In addition to the following you should also uncomment the
corresponding mua_*
+# lines in main.cf as well.
# Choose one: enable smtps for loopback clients only, or for any client.
#127.0.0.1:smtps inet n - n - - smtpd
#smtps inet n - n - - smtpd
--- postfix-3.6.0-RC1/conf/main.cf.orig 2021-04-25 22:22:09.491575600 +1200
+++ postfix-3.6.0-RC1/conf/main.cf 2021-04-25 22:31:10.004842285 +1200
@@ -310,6 +310,13 @@
#
#relay_domains = $mydestination
+# If you enable (uncomment) the submission or smtps (submissions)
service in
+# master.cf you should also uncomment these lines to stop "undefined
parameter"
+# warnings:
+#mua_client_restrictions = permit_sasl_authenticated, reject
+#mua_helo_restrictions =
+#mua_sender_restrictions =
+
# INTERNET OR INTRANET
# The relayhost parameter specifies the default host to send mail to