postfix: remove delievery

This commit is contained in:
genofire 2021-10-21 16:13:08 +02:00
parent 5989940361
commit 70144f3fbb
3 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -0,0 +1,3 @@
# {{ ansible_managed }}
/^Received: .*/ IGNORE
/^X-Originating-IP:/ IGNORE