Re: Exim Subject rejection, (* **** ***)
Anyone know if you can do this in sendmail and if so, how?
/Roger Abrahamsson
On Mon, 8 May 2000, Peter Gervai wrote:
> 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 "security@localhost"
> 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
> grin@iRCnet on #linux.hu |Netscape regarding the visit from microsoft.
>
>
> --
> To UNSUBSCRIBE, email to debian-isp-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
-------------------------------------------------
Roger Abrahamsson, Sys/Net Admin
Obbit AB
Radhusespl.17D, S-90328 Umea, Sweden
Phone: (+46)(0)90 133310 Fax:(+46)(0)90 133370
-------------------------------------------------
Reply to: