filtering all messages with specific header

hi!

we have an external appliance antispamm system, it adds a header similar to this one:

X-TM-AS-Result: Yes-28.065600-6-31

and i want to move all these messages to a user folder called spam.

i can't find any proper example regarding this case.

any hints?

regards

[308 byte] By [abosch] at [2007-11-26 11:40:10]
# 1
Sieve is your friend.Create a system-wide filter.done.
jay_plesset at 2007-7-7 11:41:18 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 2

that's what i was trying.

in Sun Java System Messaging Server 6 2005Q4 Administration Guide (http://docs.sun.com/app/docs/doc/819-2650/6n4u4dtsk?a=view) i can read:

Store the filter in the following file:

../imta/config/imta.filter

but i dont have that folder. my option.dat, imta.cnf and msg.conf are in

/var/opt/SUNWmsgsr/config

so i supose this is the correct path.

must i create imta.filter in here?

regards

abosch at 2007-7-7 11:41:18 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 3
Hi,By default the imta.filter file doesn't exist, so yes you need to create this file with the filter you want to apply across the MTA in /var/opt/SUNWmsgsr/config/ as you noted.Regards,Shane.
shane_hjorth at 2007-7-7 11:41:18 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...