Commit 93357144 authored by Hinrikus Wolf's avatar Hinrikus Wolf
Browse files

postfix: add config option for smtpd_sender_restrictions

parent aefc6584
Pipeline #3744 passed with stage
in 48 seconds
......@@ -35,6 +35,9 @@ postfix_virtual_alias_maps:
postfix_sender_login_maps:
- proxy:pcre:/etc/postfix/login_maps.pcre
postfix_smtpd_sender_restrictions:
- reject_sender_login_mismatch
postfix_enable_postscreen: true
postfix_enable_memcached: false
postfix_login_suffix: ''
......
......@@ -27,7 +27,7 @@ mailbox_command = {{ postfix_mailbox_command }}
{% endif %}
smtpd_sender_login_maps = {{ postfix_sender_login_maps|join(" ") }}
smtpd_sender_restrictions = reject_sender_login_mismatch
smtpd_sender_restrictions = {{ postfix_smtpd_sender_restrictions|join(" ") }}
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment