<<< Date Index >>>     <<< Thread Index >>>

Re: Coloring message in index for SPAM



On Jun 12 09:58, Kyle Wheeler wrote:
 
> Ooops, there's a typo in that. Here's what the pattern in 
> double-quotes should be:
> 
> ^X-Spam-Level: [*]{5,9}$
> ||            | |  |   `-- means "the end of the line"
> |`------------' |  `-- means "between 5 and 9 of the preceeding
> |       |       |      element"
> |       |       `----- means "an asterisk" (an asterisk by itself
> |       |              means "any number of the preceeding element")
> |       `-------------- means "the literal string 'X-Spam-Flag: '
> `---------------------- means "at the beginning of the line"
> 
> In other words, SpamAssassin by default adds two headers to most 
> email: an X-Spam-Status header and an X-Spam-Level header. 
> X-Spam-Status is something like "X-Spam-Status: No, score=-2.4..." and 
> X-Spam-Level is just a series of (by default) asterisks, one for every 
> point in the score the mail generated. The pattern here matches based 
> on the number of asterisks, and specifically, matches between 5 and 9 
> asterisks, which translates to messages with scores >= 5 and <= 9.

Thank you for the awesome and very detailed response!  Now it makes
perfect sense to me!  Once again, thank you!

-- 
Dave Waxman
dave@xxxxxxxxxx
http://waxman.org/

"If common sense is so common, why is there so little of it?" - Mark Twain

Attachment: signature.asc
Description: Digital signature