RE: [Exim] Failed to expand condition

Etusivu
Poista viesti
Vastaa
Lähettäjä: Philip Hazel
Päiväys:  
Vastaanottaja: Simon Barr
Kopio: Exim Users
Aihe: RE: [Exim] Failed to expand condition
On Wed, 12 Jun 2002, Simon Barr wrote:

> > condition = ${if and {{eq {$sender_address_domain}{mailserver.co.uk}}
> >              {eq{$received_protocol}{razor_checked}}} {no}{yes}}

> >
>
> That was it, thanks.
>
> That will teach me to believe what I read, I took the syntax for that
> condition from A0404 of the Exim FAQ. In the FAQ the extra braces are
> absent.


Eh?

A0404: You can use the \condition\ option on a router, with a setting such as

         condition = ${if and {{eq {$sender_host_address}{}} \
                     {eq {$sender_ident}{majordom}}} {yes}{no}}


That's from the Exim 4 FAQ, but I see the same in the Exim 3 FAQ.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.