On 2010-05-21 15:40, John Horne wrote:
Hello,
Can you tell it's Friday afternoon? What should be a simple problem
always seems to become a nightmare on Friday afternoons! :-)
Using SA 3.3.1 I have the following simple rule:
body LOCAL_JH /userid:\s*\n/i
which should look for 'userid:', any number of spaces and then a NL
character (that is, there is nothing following the spaces on the same
line).
If I send a message containing:
some text<NL>
userid: <NL>
some more text
it fails. If I insert a NL before 'some more text', then it works.
I tried using '/userid:\s*$/mi', but that too didn't work.
Can someone show me how to match a newline character in the above rule
please?
can you post a spam sample @ pastebin?