On Mon, 16 Sep 2013 19:05:44 +0700
"Wijatmoko U. Prayitno" <[email protected]> wrote:

> /^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
>
Revision the above pattern..

/^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

Here the log..

Sep 16 19:59:10 mail postfix/cleanup[30773]: 52A22258253: reject: header 
Content-Type: application/x-msdos-program;? name="find.exe" from 
subdomain.domain.com [A.B.C.D]; from=<[email protected]> 
to=<[email protected]> proto=ESMTP helo=<subdomain.domain.com>: 5.7.1 
Files attached to emails that contain or end in "exe" are prohibited on this 
server as they may contain viruses. The file named "find.exe" was rejected

--
 WUP

Reply via email to