[xmail] Block (some) attachments

2004-10-11 Thread Michael Lugassy
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

[xmail] Re: Block (some) attachments

2004-10-11 Thread Chris L. Franklin
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

[xmail] Re: Block (some) attachments

2004-10-11 Thread Michael Lugassy
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

[xmail] Re: Block (some) attachments

2004-10-11 Thread Chris L. Franklin
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:

[xmail] Re: Block (some) attachments

2004-10-11 Thread Michael Lugassy
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

[xmail] Re: Block (some) attachments

2004-10-11 Thread Francesco Vertova
At 13.51 11/10/04 +0200, you wrote: Hi all, What's the easiest way to reject mail that contains exe, pif and vbs and received on XMAIL 1.20 (windows)? I've been running a modified version of Michail Altair Valasek's FLAVS for a year (the link to the original version can be found on the XMail

[xmail] Re: Block (some) attachments

2004-10-11 Thread Michael Lugassy
Francesco hi, This looks like exactly what I need, but although xmail process the filter, the bad attachment still delivers. I tried changing the error code (from 97 to 4), but it didn't work either (message was still delivered. Can you help me getting it rejected? Here's a snippest of the log

[xmail] Re: Block (some) attachments

2004-10-11 Thread Francesco Vertova
At 16.24 11/10/04 +0200, you wrote: Francesco hi, This looks like exactly what I need, but although xmail process the filter, the bad attachment still delivers. I tried changing the error code (from 97 to 4), but it didn't work either (message was still delivered. Can you help me getting it

[xmail] Re: Block (some) attachments

2004-10-11 Thread Michael Lugassy
Thank you Francesco, It indeed worked. Can you tell me what's the different between filters*.tabs? I want to use the fastest attachment check. No other check (AV, content) is used. Shouldn't I use the filters.in or global filters file? -Original Message- From: [EMAIL PROTECTED]

[xmail] Re: Block (some) attachments

2004-10-11 Thread Charlie Qualls
Hey there Chris, Can you not send back the 550 error message? Can you sent it to send the full message with attachment to the administrative mail box? -- Charlie Qualls Property Director/IT Manager Girl Scouts - Fox Valley Council mailto:[EMAIL PROTECTED] Monday, October 11, 2004, 7:10:15

[xmail] Re: Block (some) attachments

2004-10-11 Thread Chris L. Franklin
Hello, If you Don't send back a error 550 and just a error message then, that sending server will try over and over again to send the message. Because it'll just disregruad the error message thinking that the remote server just dropped the call. (This goes VERY true with other xmail server, thus

[xmail] Re: Block (some) attachments

2004-10-11 Thread Charlie Qualls
Hey there Chris, I didn't explain well. I meant to send the message and attachment to my administrative account instead of just dumping the message. as for the 550 error message, most of those are forged accounts anyway and I just don't like blindly sending mail back to a account that doesn't

[xmail] Re: Block (some) attachments

2004-10-11 Thread Tracy
Returning a 550 error in the protocol session does not send an NDN message to the forged sender. It rejects the message before delivery is accepted. The only way I can see sending the message to your administrative account would be to have the filter create a new message using the content your

[xmail] Re: Block (some) attachments

2004-10-11 Thread Charlie Qualls
Hey there Tracy, In some, though be it rare instances, my users may need and expect to be able to receive the file. Could be a update from our national office for a patch to software? If the file is sent to the administrative account, I could still pass it on. I just hate deleting blindly

[xmail] Re: Block (some) attachments

2004-10-11 Thread Jorge Mera
hello, I have installed the filter attachment_block.pl but it always does not work to me gives back redcode to me 255, that can be? - 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

[xmail] Re: Block (some) attachments

2004-10-11 Thread Chris L. Franklin
I'm Sorry I didn't understand what you where trying to say. -- Chris L. Franklin -- Jorge Mera wrote: hello, I have installed the filter attachment_block.pl but it always does not work to me gives back redcode to me 255, that can be? - To unsubscribe from this list: send the line unsubscribe

[xmail] Re: Block (some) attachments

2004-10-11 Thread Chris L. Franklin
Hello, Would it be possible ask the Office to Zip the patch ? If this is really that big of a deal I can always have it to that thiers one account that doesn't get filtered. (Account defined by admin of course) -- Chris L. Franklin -- Charlie Qualls wrote: Hey there Tracy, In some, though be

[xmail] Re: Block (some) attachments

2004-10-11 Thread Jorge Mera
I have configured the filter attachment_block.pl in filters.in.tab but it does not work to me, if I start in xmail in debug says the filter to me that has happened an error redcode 255 my English is bad sorry, spanish ??? -Mensaje original- De: Chris L. Franklin [mailto:[EMAIL PROTECTED]

[xmail] Re: Block (some) attachments

2004-10-11 Thread Chris L. Franklin
Hello, well the first problem I see is that attachment_block.pl is a filters.post-data.tab not a filters.in.tab. I'd start there first. and let me know how that works. -- Chris L. Franklin -- Jorge Mera wrote: I have configured the filter attachment_block.pl in filters.in.tab but it

[xmail] Re: Block (some) attachments

2004-10-11 Thread Jorge Mera
I configured it in filters.post-data.tab and nothing happens. if I = execute single the Perl gives east error me of compilation, what can be Microsoft Windows XP [Versi=F3n 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\C:\MailRoot\filters\attachment_block.pl syntax error at

[xmail] Re: Block (some) attachments

2004-10-11 Thread Chris L. Franklin
Hello, I see where your problem is. This version of the attachment_block requires the linuxs bashs grep and rm. (I guess I'm going to have to make a pure perl version again, I did away with my old perl only one). -- Chris L. Franklin -- Jorge Mera wrote: I configured it in

[xmail] Re: Block (some) attachments

2004-10-11 Thread Chris L. Franklin
Hello, I just remade my pure perl version. It is slower then the bash perl version. But this ones non-bash friendly. It can be found at he same place http://xmail.nomadcf.com/info.php?program=attachment_filter (as a note it's the one labeled attachment_block-pure_perl.pl