I am trying to modify Postfix Message-Ids and I have tried several things but Postfix just ignores the line in header_checks
/Message-Id:\s+/ REPLACE Message-Id:
The original header reads:
message-id=
but I want it to read
message-id=
My master.cf
file:
cleanup unix n - n - 0 cleanup
-o header_checks=pcre:/etc/postfix/header_checks
The header_checks
file:
/Message-Id:\s+/ REPLACE Message-Id:
My main.cf
file has
always_add_missing_headers = yes
The logs show emails consistently have postfix generated headers without the rewrite happening.
I am using postfix 3
Asked by bacardi_rum2
(111 rep)
Feb 7, 2020, 09:10 PM
Last activity: Feb 7, 2020, 09:42 PM
Last activity: Feb 7, 2020, 09:42 PM