On Mon, 16 Sep 2013 12:41:08 +0100 Rowland Onobrauche <[email protected]> wrote:
> mime_header_checks = regexp:/etc/postfix/mime_header_checks > Ok. > cat mime_header_checks > /name=[^>]*\.(scr|pif|bat|exe|dll|vbs)/ REJECT > Try.. /^s*ContentÂ(Disposition|Type).*names*=s*"?(.+.(scr|pif|bat|exe|dll|vbs))"?s*$/ REJECT Files attached to emails that contain or end in "$3" are prohibited on this server as they may contain viruses. The file named "$2" was rejected Don't forget to restart/reload your postfix. Good luck.. -- WUP
