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