At 11:05 PM 1/30/2005, Mark London wrote:
I use the "body" command to tests for phrases. This was working great, until a
spammer started to use double spacing in his email, and the phrases were split
up by empty lines. Is there any way around this?

The body command works on a copy of the message body that has had all newlines stripped out. So the extra CR's aren't your problem. However, body rules do not inherently deal with multiple space characters between words.


Perhaps you just need to modify your rule to tolerate more spaces, and perhaps tabs, between words by using \s{1,10} instead of a space.

Look closely at the message, in a hex editor if you have one.

  I've tried everything,
including using full and rawbody, but I still can't find a way to specify a
phrase, and allow for the fact that the words in the phrase might be broken up
by empty lines.

rawbody actually makes your problem real. Rawbody is a copy of the body WITH all the CR's and all the HTML tags, thus a rawbody rule will suffer from CR insertion.


Something tells me that it's impossible. Is that true? Thanks.

No, it's perfectly possible..





Reply via email to