Re: [exim] Match $h_To

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Brian Spraker
Dátum:  
Címzett: Evgeniy Berdnikov, exim-users@exim.org
Tárgy: Re: [exim] Match $h_To
I apologize about the syntax not being correct.  This was added to a very long if or structure.  In essence, the main syntax was just copied from all of the other lines.  It does pass the Exim config test because the service restarts successfully with no errors.

Brian S.



On Wednesday, July 9, 2014 3:15 PM, Evgeniy Berdnikov <bd4@???> wrote:


>
>
>On Wed, Jul 09, 2014 at 10:16:01AM -0700, Brian Spraker wrote:
>
>> 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).*emailaccount@???.* } } {no} {yes} }
>
>First of all, syntax is incorrect: match can not be surrounded via
>{ braces }. Run "exim -be ..." first.
>--
>Eugene Berdnikov
>
>--
>## 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/
>
>
>
>