How to filter attachments with *.exe, *.bat, *.scr

I want to configure channel level filtering in ims 5.2to remove all attachments with *.exe, *.scr and *.batHow will i do it ?
[153 byte] By [nshah2102] at [2007-11-25 10:56:07]
# 1
You will want to use the conversion channel. An example of how to do it can be found here: http://docs.sun.com/db/doc/816-6092-10
jay_plesset at 2007-7-1 21:58:07 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 2
I did not see a good example which answers all my questions ...can you give me an example or a sample script ...Also can we user sieve language to filter attachments
nshah2102 at 2007-7-1 21:58:07 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 3
Sieve does not have access to message contents, only envelope. The example I gave you, if understood, is really all you need.It's what I have. . . .
jay_plesset at 2007-7-1 21:58:07 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 4

If you're trying to discard/delete the attachments outright, you could

use the following conversion channel entries,

out-channel=*; in-type=*;

in-type=application; in-subtype=*;

in-parameter-name-0=NAME; in-parameter-value-0=*.bat;

out-type=text; out-subtype=plain; out-mode=text; out-encoding=none;

delete=1

out-channel=*; in-type=*;

in-type=application; in-subtype=*;

in-parameter-name-0=NAME; in-parameter-value-0=*.exe;

out-type=text; out-subtype=plain; out-mode=text; out-encoding=none;

delete=1

out-channel=*; in-type=*;

in-type=application; in-subtype=*;

in-parameter-name-0=NAME; in-parameter-value-0=*.scr;

out-type=text; out-subtype=plain; out-mode=text; out-encoding=none;

delete=1

In this case, the message will still be passed thru, but the

attachment will be deleted. This is actually a pretty nice safety

net given the number of viruses coming in these days.

Hope this helps.

John Meyers at 2007-7-1 21:58:07 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...