All,

So I did a bit more digging and have a new theory.

The headerline I want to match comes back in this form:

  X-Spam-Status: Yes, score=xxx required=5.0
tests=AWL,BAYES_00,MISSING_HEADERS

All I want to match is the "Yes" bit, since the rest varies... but ALL the
headers, whether they start with "Yes" or "No" contain the "BAYES_xx"
part.

I wonder... could that be triggering the false match?

If so, what's a good way around it?  I tried matching on "Yes, score" but
that somehow strips out the comma.

Any other ideas?  Is there a way to do a case-sensitive, match?

-Matt

> All,
>
> My email has installed spam filtering software that which discards
> high-scoring spam, but adds the following header to 'borderline' spam:
>
>     X-Spam-Status: Yes
>
> Low scoring messages get a header like so:
>
>     X-Spam-Status: No
>
> So I'm trying to install this filter:
>
>     * Only unread messages
>     * Match Header
>     * Contains: X-Spam-Status: Yes
>     * Move to: INBOX.spam
>
>
> ...but EVERYTHING gets moved into the spam folder.
>
> Note that there's a space in my 'contains' string... is this a problem?
> Should I be escaping that somehow?
>
> -Matt
>


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
--
squirrelmail-users mailing list
Posting Guidelines: 
http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
List Address: [EMAIL PROTECTED]
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to