From 9dd7589f125fd998f2f2a3a856b556db2906698c Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Tue, 10 Nov 2020 20:34:27 +0100 Subject: [PATCH] bundles/postfix: add submission_header_cleanup file --- bundles/postfix/files/submission_header_cleanup | 2 ++ bundles/postfix/items.py | 5 +++++ 2 files changed, 7 insertions(+) create mode 100644 bundles/postfix/files/submission_header_cleanup diff --git a/bundles/postfix/files/submission_header_cleanup b/bundles/postfix/files/submission_header_cleanup new file mode 100644 index 0000000..61b829e --- /dev/null +++ b/bundles/postfix/files/submission_header_cleanup @@ -0,0 +1,2 @@ +/^Received:/ IGNORE +/^X-Originating-IP:/ IGNORE diff --git a/bundles/postfix/items.py b/bundles/postfix/items.py index 22ff29b..dca77ee 100644 --- a/bundles/postfix/items.py +++ b/bundles/postfix/items.py @@ -26,6 +26,11 @@ files = { 'svc_systemd:postfix:restart', }, }, + '/etc/postfix/submission_header_cleanup': { + 'triggers': { + 'svc_systemd:postfix:restart', + }, + }, '/usr/local/share/icinga/plugins/check_postfix_queue': { 'mode': '0755', },