Re: [Exim] Router Condition problem

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: John R. Shearer
Dátum:  
Címzett: support, exim-users
Tárgy: Re: [Exim] Router Condition problem
Matt:

Give this a shot...

  condition = "${if and { \
    {!def:header_X-GForce-Host:} \
    {!eq {$ localhost_number}{3}} \
  } {yes}{no} }"


...and let us know if it works. - John R. S.


> From: support@???
> Reply-To: support@???
> Date: Mon, 16 Jun 2003 16:32:44 -0700
> To: exim-users@???
> Subject: [Exim] Router Condition problem
>
>
> List,
>
> Im trying to get a conditional router to work in exim 4 with the condition:
> condition = ${if and {\
> {if !=={$localhost_number}{3} {yes}{no}}\
> {if !{def:header_X-GForce-Host:} {yes}{no}}\
> }} {yes}{no}}
>
> basically I want to make sure that the X-GForce-Host header is not set and
> localhost_number is not equal to 3...
>
> But somewhere my logic or code is wrong. Any hints would be appreciated :)
>
> Thanks,
>
> Matt
>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
> details at http://www.exim.org/ ##
>
>