Fwd: Help with constructing a rule for MCP

2011-11-21 Thread Sergio
Unfortunately, it seems that MCP doesn't like the rule: header __ENV_FROM_DHLReceived =~ /envelope-from [^ @]+@dhl(?:[-_][^ .]+)?\.com/i header __FROM_DHLFrom =~ /\bdhl(?:[-_][^ .]+)?\.com/i header __ENV_FROM_UPS Received =~ /envelope-from [^

Re: Fwd: Help with constructing a rule for MCP

2011-11-21 Thread Ricardo Ardila Vetrovec
Did you try to monitor the log looking if the rule was detected? El 21/11/2011 02:00 p.m., Sergio escribió: Unfortunately, it seems that MCP doesn't like the rule: header __ENV_FROM_DHLReceived =~ /envelope-from [^ @]+@dhl(?:[-_][^ .]+)?\.com/i header __FROM_DHL

Re: Fwd: Help with constructing a rule for MCP

2011-11-21 Thread Bowie Bailey
On 11/21/2011 1:30 PM, Sergio wrote: Unfortunately, it seems that MCP doesn't like the rule: header __ENV_FROM_DHLReceived =~ /envelope-from [^ @]+@dhl(?:[-_][^ .]+)?\.com/i header __FROM_DHLFrom =~ /\bdhl(?:[-_][^ .]+)?\.com/i header __ENV_FROM_UPS

Re: Fwd: Help with constructing a rule for MCP

2011-11-21 Thread Sergio
That was the error, the @ has to be escaped \@, now it is working. Thank you all for your help on this rule. Regards, Sergio On Mon, Nov 21, 2011 at 1:16 PM, Bowie Bailey bowie_bai...@buc.com wrote: On 11/21/2011 1:30 PM, Sergio wrote: Unfortunately, it seems that MCP doesn't like the

Re: Fwd: Help with constructing a rule for MCP

2011-11-21 Thread John Hardin
On Mon, 21 Nov 2011, Sergio wrote: Unfortunately, it seems that MCP doesn't like the rule: header __ENV_FROM_DHLReceived =~ /envelope-from [^ @]+@dhl(?:[-_][^ .]+)?\.com/i header __FROM_DHLFrom =~ /\bdhl(?:[-_][^ .]+)?\.com/i header __ENV_FROM_UPS