MailFilter Applications for webmail -- server detected SPAM

I'm trying to massage the mail filter application to filter based on SPAM scores.

The file "WEB-INF/classes/mailfilter/main/filter.properties" has the following properties set to be defined:

spamHeaderName=X-PerlMx-Spam

spamHeaderValue=XXXX

Does the spamHeaderValue have to be an exact match? Does it have to be numeric?

I was able to get the following to work before:

spamHeaderName=X-Bulk

spamHeaderValue=100

Example of new spam header that I'm trying to get to work:

X-PerlMx-Spam Gauge=XXXXIII, Probability=43%, Report='OBFU_CLASS_HEALTH_LOW 4.5, __CD 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0,__HAS_X_MAILER 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __STOCK_CRUFT 0, __STOCK_SUBJ_9 0'

Desired effect: To have server detected SPAM match scores 90% and up.

Sun Java(tm) System Messaging Server 6.1 HotFix 0.16 (built Sep 12 2005)

libimta.so 6.1 HotFix 0.16 (built 15:24:10, Sep 12 2005)

SunOS MY_HOST 5.9 Generic_118558-06 sun4u sparc SUNW,Ultra-4

[1072 byte] By [JR_Taisto] at [2007-11-25 21:50:51]
# 1

Actually, this does work, but it has a few caveats.

1. Restart the webserver.

2. Performed an imsimta cnbuild (not sure this if this was necessary)

3. Restart services.

4. Create a new SPAM filter using new criteria.

5. Need to change all of the old filters that used this criteria to the new format. This is the only arduous task, however, writing a perl script to do this shouldn't prove to be too difficult.

Note:

The new sieve filter uses contains "X-PerlMx-Spam" "XXXX" in the header to match the rule.

JR_Taisto at 2007-7-5 1:02:36 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Calendar Server...