[prev in list] [next in list] [prev in thread] [next in thread] 

List:       procmail
Subject:    Re: files extention to block
From:       LuKreme <kremels () kreme ! com>
Date:       2004-04-19 15:23:20
Message-ID: 7D5C8446-9215-11D8-A4CC-003065AB9B0E () kreme ! com
[Download RAW message or body]

On 15 Apr 2004, at 15d, 13:29, Matias Monteverde wrote:
> Can anyone give a pretty nice list of extention of file to block for  
> incoming mails?

I use the following as a filter in my Mime-Headers-check in postfix:

/^\s*Content-(Disposition|Type).*name\s*=\s*"? 
(.*\.(ade|adp|bas|bat|chm|cmd|com|cpl|crt|dll|exe|hlp|hta|inf|ins|isp|js 
|jse|lnk|mdb|mde|mdt|mdw|msc|msi|msp|mst|nws|ops|pcd|pif|prf|reg|scf|scr 
\??|sct|shb|shs|shm|swf|vb[esx]?|vxd|wsc|wsf|wsh))(\?=)?"?\s*(;|$)/x  
REJECT Attachment name "$2" may not end with ".$3"

-- 
A vote for Nader is a vote for George Bush.


_______________________________________________
procmail mailing list
procmail@lists.RWTH-Aachen.DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic