On Sat, Jan 30, 2010 at 4:08 PM, Guruprasad <lgp_cse@xxxxxxx> wrote: > Hi, > >> On Sat, 30 Jan 2010, Guruprasad wrote: >> There is a "YES" in "BAYES". Change your rule to search for "Yes," >> (note the comma). >> >> Perhaps the confusion is " to search for " should read " to add " > > I have two 'X-Spam-Status' fields in the message header. That's *your* problem, then. You have to fix that situation. > 'X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 > autolearn=unavailable version=3.3.0' > > and 'X-Spam-Status: Yes'. The second one is the one I want my filter to > match as it is added by SpamAssasin in our mail server. How will > 'X-Spam-Status: Yes," match it? Think about if YOUR spam status is "No" but the sending MTA's status was "Yes". Then searching for "Yes" is still going to do what you don't want it to. You have to create a way for the search to know that it's looking at YOUR spam status header. Change your SA configuration and adapt the filter to match. -- Paul Lesniewski SquirrelMail Team Please support Open Source Software by donating to SquirrelMail! http://squirrelmail.org/donate_paul_lesniewski.php ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ----- squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users