RE: [Exim] rewriting

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: John Horne
Data:  
Para: exim-users
Asunto: RE: [Exim] rewriting
On 24-Oct-99 at 12:34:55 Alexander Koch wrote:
> After I have come to think Exim rewriting things just rock,
> I have a problem I cannot solve, it seems.
>
> I have several subdomains, namely (.*).bwev.org and I want
> $1 be looked up in a plain file (lsearch). I have a
> smartuser director here that won't work.
>
>|subdomain:
>|  driver        = smartuser
>|  domains       = "*.bwev.org"
>|  new_address  = ${if match{ ${domain} } {(.*)\.bwev\.org} \
>|     { ${lookup {$1} lsearch {/etc/exim/subdomains} {$value} } }
>|  no_more

>

I would say add one more '}' to the end. It looks like the 'if' isn't
terminated correctly - hence expecting an 'else'.

John.



--------------------------------------------------------------------------
John Horne, University of Plymouth, UK             Tel: +44 (0)1752 233914
E-mail: jhorne@???
Finger for PGP key: john@???