Skip to content
Snippets Groups Projects
Commit 7edf869d authored by Lars Beckers's avatar Lars Beckers
Browse files

Merge branch 'feature/add_smtpd_sender_restrictions' into 'master'

postfix: add config option for smtpd_sender_restrictions

See merge request !18
parents aefc6584 93357144
No related branches found
No related tags found
1 merge request!18postfix: add config option for smtpd_sender_restrictions
Pipeline #4314 passed
...@@ -35,6 +35,9 @@ postfix_virtual_alias_maps: ...@@ -35,6 +35,9 @@ postfix_virtual_alias_maps:
postfix_sender_login_maps: postfix_sender_login_maps:
- proxy:pcre:/etc/postfix/login_maps.pcre - proxy:pcre:/etc/postfix/login_maps.pcre
postfix_smtpd_sender_restrictions:
- reject_sender_login_mismatch
postfix_enable_postscreen: true postfix_enable_postscreen: true
postfix_enable_memcached: false postfix_enable_memcached: false
postfix_login_suffix: '' postfix_login_suffix: ''
......
...@@ -27,7 +27,7 @@ mailbox_command = {{ postfix_mailbox_command }} ...@@ -27,7 +27,7 @@ mailbox_command = {{ postfix_mailbox_command }}
{% endif %} {% endif %}
smtpd_sender_login_maps = {{ postfix_sender_login_maps|join(" ") }} 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_type = dovecot
smtpd_sasl_path = private/auth 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