RE: [Exim] exim and multiple smarthosts

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: John Horne
Data:  
Para: exim-users
Assunto: 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