Re: conditional body_checks

2012-05-29 Thread Loïc
Hello, Thank you for your response. Indeed, in my case it's not a good idea to go through a header_checks. I resolved my problem using maildrop. Loïc On Thu, May 24, 2012 at 4:22 AM, Bill Cole wrote: > On 23 May 2012, at 7:59, Loïc Latreille wrote: > >> Hello, >> >> I would check if a string i

Re: conditional body_checks

2012-05-23 Thread Bill Cole
On 23 May 2012, at 7:59, Loïc Latreille wrote: Hello, I would check if a string is present in the message body only if the "To" field is equal to "j...@example.org". Read the man page for header_checks. Note the first bullet point in the "BUGS" section. Alternatively, read $readme_director

Re: conditional body_checks

2012-05-23 Thread Ansgar Wiechers
On 2012-05-23 Loïc Latreille wrote: > I would check if a string is present in the message body only if the > "To" field is equal to "j...@example.org". > 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 > patter

conditional body_checks

2012-05-23 Thread Loïc Latreille
Hello, I would check if a string is present in the message body only if the "To" field is equal to "j...@example.org". 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