Skip to content
Snippets Groups Projects
Commit 93357144 authored by Hinrikus Wolf's avatar Hinrikus Wolf
Browse files

postfix: add config option for smtpd_sender_restrictions

parent aefc6584
No related branches found
No related tags found
1 merge request!18postfix: add config option for smtpd_sender_restrictions
Pipeline #3744 passed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment