On Sun, May 07, 2000 at 12:35:38PM -0700, Kevin wrote: > How hard would it be to filter *.vbs attachments out. It was fairly simple > to do with NT based MDaemon, but I'm not sure how to go about it with exim > or postfix.
variation of an exim global filter: if $message_body: contains ".vbs\"" or $message_body: contains ".wsc\"" or $message_body: contains ".jse\"" or $message_body: contains ".js\"" or $message_body: contains ".vbe\"" then headers add "X-Virus-Alert: WARNING possible Visual Basic/JS Trojan Attachment\n" deliver "[EMAIL PROTECTED]" endif ===========================+============================================= Peter "grin" Gervai | "It was like a visit by Don Corleone. I Linux root at Cory-Net Ltd.|expected to find a bloody computer monitor in Szekszard, Hungary |my bed the next day." -- Mark Andreessen of [EMAIL PROTECTED] on #linux.hu |Netscape regarding the visit from microsoft.