I have perl from ActiveState. I can run scripts.=20 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] = On Behalf Of Chris L. Franklin Sent: Monday, October 11, 2004 3:49 PM To: [EMAIL PROTECTED] Subject: [xmail] Re: Block (some) attachments
Hello, 1.) I guess my first question is do you have any form of perl installed = on your server ? 2.) Shouldn't there be a comma=A0between exe and zip?=20 Nope I want to block "exe.zip". -- Chris L. Franklin -- >Chris hi,=20 > >Will it work on windows?=20 >I've tried the following:=20 >"e:/xmail/filters/attachment_block.pl" @@FILE=20 > >But I'm unsure about the first 2 lines on the .pl file:=20 >#!/usr/bin/perl=20 >And $Attachments =3D 'exe.zip,vbs'=20 > >Will it find my perl.exe using windows paths? Shouldn't there be a = comma=20 >between exe and zip?=20 > >Thanks,=20 > >Michael.=20 > >-----Original Message-----=20 >From: [EMAIL PROTECTED] = [mailto:[EMAIL PROTECTED] >On=20 >Behalf Of Chris L. Franklin=20 >Sent: Monday, October 11, 2004 2:10 PM=20 >To: [EMAIL PROTECTED] >Subject: [xmail] Re: Block (some) attachments=20 > >Michael Lugassy wrote:=20 > >>Hi all,=20 >> >>What's the easiest way to reject mail that contains exe, pif and vbs = and=20 >>received on XMAIL 1.20 (windows)?=20 >> >>Thanks!=20 >> >>-=20 >>To unsubscribe from this list: send the line "unsubscribe xmail" in=20 >>the body of a message to [EMAIL PROTECTED] >>For general help: send the line "help" in the body of a message to=20 >>[EMAIL PROTECTED] >> >> >> >> >Heres a smtp filter script that'll do that. you tell it what extention=20 >to filter and if ones found it sends back a "550" .=20 >error with a short message telling the sender why there message wasn't=20 >excepted.=20 > >It can be found here :=20 >http://xmail.nomadcf.com/info.php?program=3Dattachment_filter=20 >Written in : Perl &Bash=20 > >PS. If needed I can rewrite by org. one that was just written in bash.=20 >But it is slower can consumes ALOT more system resources.=20 > >-- Chris L. Franklin --=20 >-=20 >To unsubscribe from this list: send the line "unsubscribe xmail" in=20 >the body of a message to [EMAIL PROTECTED] >For general help: send the line "help" in the body of a message to=20 >[EMAIL PROTECTED] > > >-=20 >To unsubscribe from this list: send the line "unsubscribe xmail" in=20 >the body of a message to [EMAIL PROTECTED] >For general help: send the line "help" in the body of a message to=20 >[EMAIL PROTECTED] > > - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED]