View Single Post
  #5 (permalink)  
Old 07-10-2009, 04:38 AM
emmaylots emmaylots is offline
Loyal Member
 
Posts: 87
Thumbs up 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$
Reply With Quote