Hello,

I would check if a string is present in the message body only if the
"To" field is equal to "[email protected]".
I tried to use IF...ENDIF but it doesn't work because the pattern
between IF and ENDIF doesn't match the same input string that the IF
pattern.

A part of the body :
...
To: JDOE <[email protected]>
From: "[email protected]" <[email protected]>
X-Email-Type-Id: TT123MM
...

My pcre table for the body_checks :
IF /To: JDOE <jdoe@example\.org>/
/X-Email-Type-Id: TT123MM/ REDIRECT [email protected]
ENDIF

I need some help to run my filter, I can not seem to find a solution
to this problem :(

Thanks in advance.


Loïc

Reply via email to