postfix: remove delievery
This commit is contained in:
parent
5989940361
commit
70144f3fbb
|
@ -3,6 +3,7 @@
|
|||
state: latest
|
||||
name:
|
||||
- postfix
|
||||
- postfix-pcre
|
||||
|
||||
- name: postfix - generate DH
|
||||
notify: reload postfix
|
||||
|
@ -24,6 +25,7 @@
|
|||
with_items:
|
||||
- main.cf
|
||||
- master.cf
|
||||
- smtp_header_checks
|
||||
- sql/smtpd-sender-login-maps.cf
|
||||
- sql/tls-policy.cf
|
||||
- sql/virtual-sender-maps.cf
|
||||
|
|
|
@ -168,6 +168,8 @@ smtpd_sender_login_maps =
|
|||
{% endif %}
|
||||
local_recipient_maps = $smtpd_sender_login_maps
|
||||
|
||||
smtp_header_checks = pcre:/etc/postfix/smtp_header_checks
|
||||
|
||||
{% if mailserver_mailman_enabled %}
|
||||
relay_domains =
|
||||
hash:/var/lib/mailman/data/relay-domains
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
# {{ ansible_managed }}
|
||||
/^Received: .*/ IGNORE
|
||||
/^X-Originating-IP:/ IGNORE
|
Loading…
Reference in New Issue