Attempting to do a match for $h_To for the vacation / out of office reply item 
that was sent to the group a while ago.

Here is my line:

${if { match {$h_To:} {(?i).*[email protected].* } } {no} {yes} }

In essence, it is checking the "To" in the headers - which should be the 
original e-mail address before it is changed over to the forwarding e-mail 
addresses.

It checks using case insensitive manner (?i) and I have a ".*" before and after 
the e-mail address.  It still is sending out an out of office reply though.

Brian S.
-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to