https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6890

--- Comment #10 from Jez <[email protected]> ---
(In reply to comment #9)
> (In reply to comment #8)
> > Quite, and when that tool is a shell script, it has very little to work
> > with.  grepping for a score that has been serialized, deserializing it
> > again, and re-converting it to an integer is horrible to do in bash and,
> > apart from anything else, inefficient as hell.  There's a good reason I
> > didn't want to go down that route.
> 
> The RE is straight forward, and documented in the procmail recipe example.
> There is nothing to serialize and deserialize, since the RE works on the
> already existing X-Spam-Level header.
> 
>   grep -E '^X-Spam-Level: \*{8,}

So grepping is as efficient as checking a process's return value?

> BTW, which variant of "rewriting" are you using? Rewriting headers, or
> attaching the spam to a wrapper message?

Rewriting headers.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to