[H-GEN] Email filtering

David Duffy david at audiovisualdevices.com.au
Wed Sep 24 23:00:31 EDT 2003


[ Humbug *General* list - semi-serious discussions about Humbug and     ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]

On Wed, 2003-09-24 at 18:16, David Duffy wrote:

>>With the current wave of virus emails (Microsoft lookalikes),
>>what's the best way to automatically reject/clobber them?
>>I guess I could use a procmail rule (tried but failed!)
>>

Arjen Lentz wrote:

>Here's a little procmail rule that I found highly effective - that is,
>it literally caught zillions of mails. I used to track it, but it goes
>to /dev/null on my main server now because I don't think anyone needs to
>send me any attachment of those types....
>I'm not so regex savvy so the pattern may be less than optimal ;-)
>
># Klez, Elkern & co viruses
># Basically catch all executable attachments)
>:0 B
>* ^Content-Type: .*/.*;$?.*NAME=.*\.(exe|com|bat|pif|scr|lnk)
>/dev/null
>  
>

OK, this works but how can I use .procmailrc to send other users viruses 
to me?
I tried specifying /home/david/mail/virus as the destination but that 
didn't work.
My own .procmailrc file uses mail/virus and that does work.
David...

-- 
___________________________________________
David Duffy        Audio Visual Devices P/L
U8, 9-11 Trade St, Cleveland 4163 Australia
Ph: +61 7 38210362   Fax: +61 7 38210281
New Web: www.audiovisualdevices.com.au
___________________________________________



--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.  See http://www.humbug.org.au/



More information about the General mailing list