I wonder if you please give me a hand here:
We're implementing a header_checks rule to our Zimbra MTA to BCC the emails from all users to its own archive mailbox automatically. The following is the rule:
/^From:(.*)<(.*)@domain.com>(.*)/ BCC [email protected]
Once I send an email I get the following error message:
Oct 5 22:33:33 mta1 postfix/cleanup[21994]: warning: unknown command in header_checks map: BCC [email protected]
I ran manually a postmap -q to check the rule and it goes fine:
[zimbra@mta1 ~]$ postmap -q 'From: FistName LastName <[email protected]>' pcre:/opt/zimbra/conf/custom_header_checks
BCC [email protected]
I tried several ways but no luck... This is just postfix regex, nothing related to Zimbra itself, I guess...
Zimbra 8.6 with mail_version 2.11.1