RE: [Exim] exim and multiple smarthosts

Etusivu
Poista viesti
Vastaa
Lähettäjä: John Horne
Päiväys:  
Vastaanottaja: exim-users
Aihe: RE: [Exim] exim and multiple smarthosts
On 10-Nov-00 at 11:51:02 Frank Tiemann wrote:
> i've a problem with exim: i have to use multiple smarthosts, chosen by
> from-@
>
>   transport = remote_smtp
>    route_list = "* \"\
>                  ${if
> match{$header_from:}{\\@account_a\\.*\\$}{mail.account_a.org} \

>
> ${if_match{$header_from:}{\\@account_b\\.*\\$}{mail.account_b.org} \

      ^
A typo?


I'm not sure that the line is right anyway. You seem to have a ${if with a
'match' condition but no 'else' statement or final '}'. I.e. shouldn't the
line be:

> {${if_match{$header_from:}{\\@account_b\\.*\\$}{mail.account_b.org}

^
This is the opening brace for the 'else' part.

John.

------------------------------------------------------------------------
John Horne, University of Plymouth, UK           Tel: +44 (0)1752 233914
E-mail: jhorne@???
PGP key available from public key servers