Add postfix.enable_submissions option

This commit is contained in:
Julian Rother 2025-01-13 18:40:05 +01:00
parent 387ab5a675
commit 4ce36e71bb
Signed by: julian
GPG key ID: C19B924C0CD13341
2 changed files with 14 additions and 11 deletions

View file

@ -6,6 +6,7 @@ postfix:
incoming_security_level: may
enable_opendkim: false
enable_submission: false
enable_submissions: false
message_size_limit: 20480000
relay_transport: smtp
relayhost: ''

View file

@ -27,17 +27,19 @@ submission inet n - y - - smtpd
-o smtpd_recipient_restrictions=
-o milter_macro_daemon_name=ORIGINATING
{% endif %}
#smtps inet n - y - - smtpd
# -o syslog_name=postfix/smtps
# -o smtpd_tls_wrappermode=yes
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_reject_unlisted_recipient=no
# -o smtpd_client_restrictions=$mua_client_restrictions
# -o smtpd_helo_restrictions=$mua_helo_restrictions
# -o smtpd_sender_restrictions=$mua_sender_restrictions
# -o smtpd_recipient_restrictions=
# -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
# -o milter_macro_daemon_name=ORIGINATING
{% if postfix.enable_submissions %}
submissions inet n - y - - smtpd
-o syslog_name=postfix/submissions
-o smtpd_tls_wrappermode=yes
-o smtpd_sasl_auth_enable=yes
-o smtpd_reject_unlisted_recipient=no
-o smtpd_client_restrictions=$mua_client_restrictions
-o smtpd_helo_restrictions=$mua_helo_restrictions
-o smtpd_sender_restrictions=$mua_sender_restrictions
-o smtpd_recipient_restrictions=
-o smtpd_relay_restrictions=permit_sasl_authenticated,reject
-o milter_macro_daemon_name=ORIGINATING
{% endif %}
#628 inet n - y - - qmqpd
pickup unix n - y 60 1 pickup
cleanup unix n - y - 0 cleanup