Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
infra
ansible-shared
communication
Commits
93357144
Commit
93357144
authored
Jan 19, 2022
by
Hinrikus Wolf
Browse files
postfix: add config option for smtpd_sender_restrictions
parent
aefc6584
Pipeline
#3744
passed with stage
in 48 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
postfix/defaults/main.yml
View file @
93357144
...
...
@@ -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
:
'
'
...
...
postfix/templates/main.cf.j2
View file @
93357144
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment