[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Procmail attachment filtering



On Fri, 20 Dec 2002, Tom Badran wrote:

> Can someone give me a rule to filter out .exe attachments, or any of the other  
> kind sent by lookout viruses. I seem to get 2 or 3 of these a day and i dont 
> even run bloody windows.
> 

I found this:

:0
* [ ]*(Content|(file)?name=).*\.(scr|exe|p(if|as)|v(bs|xd)|ba[kt]|\
  wab|cp(p|l)|asp|xls|mpe?g|reg|ini|d(iz|ll)|sys) 
{ do stuff }

See also for outlook's particularity

http://www.well.com/user/barts/email/viriirc.txt


Oliver
-- 
... don't touch the bang bang fruit



Reply to: