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', },