[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 message to
[EMAIL PROTECTED]



[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 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]



[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 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]



[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: 
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]



[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 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]



[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 home 
page). It's a VBS script that rejects messages with executable attachments 
and calls F-PROT antivirus (DOS) for those with a .ZIP attachment. I've set 
it up as a post-data filter (issues a 550 error after the final crlf dot 
crlf). Works well on my lightweight NT4 server, no idea of possible 
performance issues with a more heavily loaded server.

Ciao, Francesco


-
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]



[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 file.

10/11/2004 4:22:04 PM   @@MSGID [i] Begin processing @@FROM - @@RCPT
10/11/2004 4:22:04 PM   @@MSGID [i] Content-Type: multipart/mixed
10/11/2004 4:22:04 PM   @@MSGID [i] New boundary found:
=_NextPart_000_00FF_01C4AFAE.648AE110
10/11/2004 4:22:04 PM   @@MSGID [i] Content-Type: multipart/alternative
10/11/2004 4:22:04 PM   @@MSGID [i] New boundary found:
=_NextPart_001_0100_01C4AFAE.648AE110
10/11/2004 4:22:04 PM   @@MSGID [i] Content-Type: text/plain
10/11/2004 4:22:04 PM   @@MSGID [i] Content-Type: text/html
10/11/2004 4:22:04 PM   @@MSGID [i] Content-Type:
application/x-msdownload
10/11/2004 4:22:04 PM   @@MSGID [i] File Name: court.exe
10/11/2004 4:22:04 PM   @@MSGID [!] DANGER: attachment with extension
..exe [filename court.exe]
10/11/2004 4:22:04 PM   @@MSGID [!] Program terminated with 4
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Francesco Vertova
Sent: Monday, October 11, 2004 3:54 PM
To: [EMAIL PROTECTED]
Subject: [xmail] Re: Block (some) attachments

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 home 
page). It's a VBS script that rejects messages with executable attachments 
and calls F-PROT antivirus (DOS) for those with a .ZIP attachment. I've set 
it up as a post-data filter (issues a 550 error after the final crlf dot 
crlf). Works well on my lightweight NT4 server, no idea of possible 
performance issues with a more heavily loaded server.

Ciao, Francesco


-
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]



[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 rejected? Here's a snippest of the log file.

If you plan to run it as a post-data filter you need to set the 
EXITCODE_BAD to 3. I see from the log that the filter itself does catch the 
court.exe attachment.

Ciao, Francesco

-
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]



[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] [mailto:[EMAIL PROTECTED] On
Behalf Of Francesco Vertova
Sent: Monday, October 11, 2004 4:30 PM
To: [EMAIL PROTECTED]
Subject: [xmail] Re: Block (some) attachments

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 rejected? Here's a snippest of the log file.

If you plan to run it as a post-data filter you need to set the 
EXITCODE_BAD to 3. I see from the log that the filter itself does catch the 
court.exe attachment.

Ciao, Francesco

-
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]



[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 AM, you wrote:

CLF Michael Lugassy wrote:


CLF Heres a smtp filter script that'll do that. you tell it what extention
CLF to filter and if ones found it sends back a 550 .
CLF error with a short message telling the sender why there message wasn't
CLF excepted.

CLF It can be found here : 
CLF http://xmail.nomadcf.com/info.php?program=attachment_filter
CLF Written in : Perl  Bash

CLF PS. If needed I can rewrite by org. one that was just written in bash.
CLF But it is slower can consumes ALOT more system resources.



-
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]



[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 the
whole reason for reporting back a 550 + a error message.)

-- Chris L. Franklin --

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 AM, you wrote: 

CLF Michael Lugassy wrote: 


CLF Heres a smtp filter script that'll do that. you tell it what 
extention 
CLF to filter and if ones found it sends back a 550 .. 
CLF error with a short message telling the sender why there message 
wasn't 
CLF excepted. 

CLF It can be found here : 
CLF http://xmail.nomadcf.com/info.php?program=attachment_filter 
CLF Written in : Perl Bash 

CLF PS. If needed I can rewrite by org. one that was just written in 
bash. 
CLF But it is slower can consumes ALOT more system resources. 



- 
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]



[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 exist.

Hope that is a little more clear.



-- 
Charlie Qualls
Property Director/IT Manager
Girl Scouts - Fox Valley Council
mailto:[EMAIL PROTECTED]


Monday, October 11, 2004, 5:25:27 PM, you wrote:

CLF  Hello,
CLF If you Don't send back a error 550 and just a error message then, that
CLF sending server will try over and over again to send the message. Because
CLF it'll just disregruad the error message thinking that the remote server just
CLF dropped the call. (This goes VERY true with other xmail server, thus the
CLF whole reason for reporting back a 550 + a error message.)

CLF -- Chris L. Franklin --

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 AM, you wrote: 

CLF Michael Lugassy wrote: 


CLF Heres a smtp filter script that'll do that. you tell it what 
extention 
CLF to filter and if ones found it sends back a 550 .. 
CLF error with a short message telling the sender why there message
wasn't 
CLF excepted. 

CLF It can be found here : 
CLF http://xmail.nomadcf.com/info.php?program=attachment_filter 
CLF Written in : Perl Bash 

CLF PS. If needed I can rewrite by org. one that was just written in
bash. 
CLF But it is slower can consumes ALOT more system resources. 



- 
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] 



CLF -
CLF To unsubscribe from this list: send the line unsubscribe xmail in
CLF the body of a message to [EMAIL PROTECTED]
CLF For general help: send the line help in the body of a message to
CLF [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]



[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 
filter receives and send it to your administrative account.

Although, I really don't know why you would want to keep copies of these 
messages...

At 18:47 10/11/2004, Charlie Qualls wrote:
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 exist.

Hope that is a little more clear.



--
Charlie Qualls
Property Director/IT Manager
Girl Scouts - Fox Valley Council
mailto:[EMAIL PROTECTED]


Monday, October 11, 2004, 5:25:27 PM, you wrote:

CLF  Hello,
CLF If you Don't send back a error 550 and just a error message then, that
CLF sending server will try over and over again to send the message. Because
CLF it'll just disregruad the error message thinking that the remote 
server just
CLF dropped the call. (This goes VERY true with other xmail server, thus the
CLF whole reason for reporting back a 550 + a error message.)

CLF -- Chris L. Franklin --

 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 AM, you wrote:
 
 CLF Michael Lugassy wrote:
 
 
 CLF Heres a smtp filter script that'll do that. you tell it what
 extention
 CLF to filter and if ones found it sends back a 550 ..
 CLF error with a short message telling the sender why there message
 wasn't
 CLF excepted.
 
 CLF It can be found here :
 CLF http://xmail.nomadcf.com/info.php?program=attachment_filter
 CLF Written in : Perl Bash
 
 CLF PS. If needed I can rewrite by org. one that was just written in
 bash.
 CLF But it is slower can consumes ALOT more system resources.
 
 
 
 -
 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]
 
 

CLF -
CLF To unsubscribe from this list: send the line unsubscribe xmail in
CLF the body of a message to [EMAIL PROTECTED]
CLF For general help: send the line help in the body of a message to
CLF [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]



[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 although I will admit that I do blacklist addresses and I
suppose that is the same. My concern is mostly if it is a executable
file that would be needed.


-- 
Charlie Qualls
Property Director/IT Manager
Girl Scouts - Fox Valley Council
mailto:[EMAIL PROTECTED]


Monday, October 11, 2004, 5:51:33 PM, you wrote:

T Returning a 550 error in the protocol session does not send an NDN message
T to the forged sender. It rejects the message before delivery is accepted.

T The only way I can see sending the message to your administrative account
T would be to have the filter create a new message using the content your
T filter receives and send it to your administrative account.

T Although, I really don't know why you would want to keep copies of these
T messages...

T At 18:47 10/11/2004, Charlie Qualls wrote:
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 exist.

Hope that is a little more clear.



--
Charlie Qualls
Property Director/IT Manager
Girl Scouts - Fox Valley Council
mailto:[EMAIL PROTECTED]


Monday, October 11, 2004, 5:25:27 PM, you wrote:

CLF  Hello,
CLF If you Don't send back a error 550 and just a error message then, that
CLF sending server will try over and over again to send the message. Because
CLF it'll just disregruad the error message thinking that the remote
server just
CLF dropped the call. (This goes VERY true with other xmail server, thus the
CLF whole reason for reporting back a 550 + a error message.)

CLF -- Chris L. Franklin --

 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 AM, you wrote:
 
 CLF Michael Lugassy wrote:
 
 
 CLF Heres a smtp filter script that'll do that. you tell it what
 extention
 CLF to filter and if ones found it sends back a 550 ..
 CLF error with a short message telling the sender why there message
 wasn't
 CLF excepted.
 
 CLF It can be found here :
 CLF http://xmail.nomadcf.com/info.php?program=attachment_filter
 CLF Written in : Perl Bash
 
 CLF PS. If needed I can rewrite by org. one that was just written in
 bash.
 CLF But it is slower can consumes ALOT more system resources.
 
 
 
 -
 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]
 
 

CLF -
CLF To unsubscribe from this list: send the line unsubscribe xmail in
CLF the body of a message to [EMAIL PROTECTED]
CLF For general help: send the line help in the body of a message to
CLF [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]

T -
T To unsubscribe from this list: send the line unsubscribe xmail in
T the body of a message to [EMAIL PROTECTED]
T For general help: send the line help in the body of a message to
T [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]



[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 message to
[EMAIL PROTECTED]



[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 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]



[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 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 although I will admit that I do blacklist addresses and I
suppose that is the same. My concern is mostly if it is a executable
file that would be needed.


  


-
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]



[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] 
Enviado el: Lunes, 11 de Octubre de 2004 06:32 p.m.
Para: [EMAIL PROTECTED]
Asunto: [xmail] Re: Block (some) attachments

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 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]



[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
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] 
Enviado el: Lunes, 11 de Octubre de 2004 06:32 p.m.
Para: [EMAIL PROTECTED]
Asunto: [xmail] Re: Block (some) attachments

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 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]

  

  


-
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]



[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 C:\MailRoot\filters\attachment_block.pl line 14, near =
(if
syntax error at C:\MailRoot\filters\attachment_block.pl line 20, near =
}
Execution of C:\MailRoot\filters\attachment_block.pl aborted due to
compilation
errors.

C:\
-Mensaje original-
De: Chris L. Franklin [mailto:[EMAIL PROTECTED]
Enviado el: Lunes, 11 de Octubre de 2004 06:50 p.m.
Para: [EMAIL PROTECTED]
Asunto: [xmail] Re: Block (some) attachments

Hello,

well the first problem I see is that attachment_block.pl is a=20
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
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]
Enviado el: Lunes, 11 de Octubre de 2004 06:32 p.m.
Para: [EMAIL PROTECTED]
Asunto: [xmail] Re: Block (some) attachments

I'm Sorry I didn't understand what you where trying to say.

-- Chris L. Franklin --

Jorge Mera wrote:

 =20

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 message to
[EMAIL PROTECTED]

   =20
=20

   =20


-
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]



 =20


-
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]



[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 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 C:\MailRoot\filters\attachment_block.pl line 14, near =
(if
syntax error at C:\MailRoot\filters\attachment_block.pl line 20, near =
}
Execution of C:\MailRoot\filters\attachment_block.pl aborted due to
compilation
errors.

C:\
-Mensaje original-
De: Chris L. Franklin [mailto:[EMAIL PROTECTED]
Enviado el: Lunes, 11 de Octubre de 2004 06:50 p.m.
Para: [EMAIL PROTECTED]
Asunto: [xmail] Re: Block (some) attachments

Hello,

well the first problem I see is that attachment_block.pl is a=20
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
  

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]
Enviado el: Lunes, 11 de Octubre de 2004 06:32 p.m.
Para: [EMAIL PROTECTED]
Asunto: [xmail] Re: Block (some) attachments

I'm Sorry I didn't understand what you where trying to say.

-- Chris L. Franklin --

Jorge Mera wrote:

=20



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 message to
[EMAIL PROTECTED]

  =20
=20

  =20

  

-
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]





  

=20




-
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]



[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 
attachment_filter/files/attachment_block-pure_perl.pl)


-- Chris L. Franklin --

Jorge Mera wrote:

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 C:\MailRoot\filters\attachment_block.pl line 14, near =
(if
syntax error at C:\MailRoot\filters\attachment_block.pl line 20, near =
}
Execution of C:\MailRoot\filters\attachment_block.pl aborted due to
compilation
errors.

C:\
-Mensaje original-
De: Chris L. Franklin [mailto:[EMAIL PROTECTED]
Enviado el: Lunes, 11 de Octubre de 2004 06:50 p.m.
Para: [EMAIL PROTECTED]
Asunto: [xmail] Re: Block (some) attachments

Hello,

well the first problem I see is that attachment_block.pl is a=20
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
  

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]
Enviado el: Lunes, 11 de Octubre de 2004 06:32 p.m.
Para: [EMAIL PROTECTED]
Asunto: [xmail] Re: Block (some) attachments

I'm Sorry I didn't understand what you where trying to say.

-- Chris L. Franklin --

Jorge Mera wrote:

=20



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 message to
[EMAIL PROTECTED]

  =20
=20

  =20

  

-
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]





  

=20




-
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]