Noel did not ask for the same text you already posted http://postfix.1071664.n5.nabble.com/Whitelisting-certain-attachments-on-postfix-td63436.html#a64125
Am 06.01.2014 08:01, schrieb portos_latinos: > Hi people, I tried to whitelist certain attachments on postfix and I can't > succeed > I tried to blacklist certain attachments and it worked with: > > mime_header_checks = regexp:/etc/postfix/mime_header_checks > Append following line: > > /name=[^>]*\.(bat|com|exe|dll|vbs)/ REJECT > > I tried this: > > Append following line: > > !/name=[^>]*\.(bat|com|exe|dll|vbs)/ REJECT > to allow but it didn't work. > > Thanks for you help