Here is the full content of the postfix_header_check.in zimbra@xbox:~/conf$ cat postfix_header_checks.in
%%uncomment VAR:zimbraMtaBlockedExtension%%/filename=\"?(.*)\.(%%list VAR:zimbraMtaBlockedExtension |%%)\"?$/
%%uncomment VAR:zimbraMtaBlockedExtension%% REJECT For security reasons we reject attachments of this type
%%uncomment VAR:zimbraMtaBlockedExtension%%/^\s*Content-(Disposition|Type).*name\s*=\s*"?(.+\.(%%list VAR:zimbraMt
aBlockedExtension |%%))"?\s*$/
%%uncomment VAR:zimbraMtaBlockedExtension%% REJECT Attachment type not allowed. File "$2" has the unacceptable
extension "$3"
/^Received: from .+\..+\.domain\.com .+(by zimbra\.domain\.com .+) / REPLACE Received: $1
zimbra@xbox:~/conf$ |