add mua_…_restrictions for submission

This commit is contained in:
Morre 2020-09-26 14:54:59 +02:00
parent 5e23cadfac
commit e14f57b40e
No known key found for this signature in database
GPG key ID: 5D9B9B1B8F424BBC

View file

@ -82,6 +82,19 @@ smtpd_recipient_restrictions = permit_mynetworks,
{% endif -%} {% endif -%}
permit permit
mua_helo_restrictions = permit_mynetworks,
permit_sasl_authenticated,
reject_invalid_helo_hostname,
reject_non_fqdn_helo_hostname
mua_sender_restrictions = reject_non_fqdn_sender,
reject_unknown_sender_domain,
permit_mynetworks,
permit_sasl_authenticated
mua_client_restrictions = permit_sasl_authenticated,
reject
{% if ("mailbox_transport" in postfix and postfix.mailbox_transport == "dovecot") {% if ("mailbox_transport" in postfix and postfix.mailbox_transport == "dovecot")
or postfix.ldap.enable or postfix.ldap.enable
%} %}