I've tried to use postfix to remove these headers but think I've hit a bug.
I've added the following to /opt/zimbra/conf/postfix_header_checks.in
/^Received: from/ IGNORE
Running "postfix reload" shows this carried across to /opt/zimbra/conf/postfix_header_checks
However, /opt/zimbra/postfix/conf/main.cf contains "header_checks = ".
To check the setting I've ran the following:
zmlocalconfig postfix_header_checks
postfix_header_checks = pcre:${zimbra_home}/conf/postfix_header_checks
All looks good, so why is this not shown in main.cf...
If I add the line manually using:
/opt/zimbra/postfix/sbin/postconf -e header_checks=pcre:/opt/zimbra/conf/postfix_header_checks
Those headers are now stripped from the mails - w'hey

However, if I reload postfix again or restart zimbra, the header_check line is removed from main.cf and the problem returns
