procmail
[Top] [All Lists]

Re: files extention to block

2004-04-19 08:58:44
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(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>