postfix: remove delievery
This commit is contained in:
parent
5989940361
commit
70144f3fbb
|
@ -3,6 +3,7 @@
|
||||||
state: latest
|
state: latest
|
||||||
name:
|
name:
|
||||||
- postfix
|
- postfix
|
||||||
|
- postfix-pcre
|
||||||
|
|
||||||
- name: postfix - generate DH
|
- name: postfix - generate DH
|
||||||
notify: reload postfix
|
notify: reload postfix
|
||||||
|
@ -24,6 +25,7 @@
|
||||||
with_items:
|
with_items:
|
||||||
- main.cf
|
- main.cf
|
||||||
- master.cf
|
- master.cf
|
||||||
|
- smtp_header_checks
|
||||||
- sql/smtpd-sender-login-maps.cf
|
- sql/smtpd-sender-login-maps.cf
|
||||||
- sql/tls-policy.cf
|
- sql/tls-policy.cf
|
||||||
- sql/virtual-sender-maps.cf
|
- sql/virtual-sender-maps.cf
|
||||||
|
|
|
@ -168,6 +168,8 @@ smtpd_sender_login_maps =
|
||||||
{% endif %}
|
{% endif %}
|
||||||
local_recipient_maps = $smtpd_sender_login_maps
|
local_recipient_maps = $smtpd_sender_login_maps
|
||||||
|
|
||||||
|
smtp_header_checks = pcre:/etc/postfix/smtp_header_checks
|
||||||
|
|
||||||
{% if mailserver_mailman_enabled %}
|
{% if mailserver_mailman_enabled %}
|
||||||
relay_domains =
|
relay_domains =
|
||||||
hash:/var/lib/mailman/data/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