Re: [Exim] rewriting

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Nikolaus Filus
Data:  
Para: exim-users
Asunto: Re: [Exim] rewriting
Hi,

I don't have a solution but a similar problem.

On Sun, Oct 24, 1999 at 12:34:55PM +0000, Alexander Koch wrote:
>After I have come to think Exim rewriting things just rock,
>I have a problem I cannot solve, it seems.


>|subdomain:
>|  driver        = smartuser
>|  domains       = "*.bwev.org"
>|  new_address  = ${if match{ ${domain} } {(.*)\.bwev\.org} \
>|     { ${lookup {$1} lsearch {/etc/exim/subdomains} {$value} } }
>|  no_more


I'm using also exim and it works fine for me with the rewrite rule

*@*    ${lookup {$1} lsearch {/etc/userdb} {$value} fail} Ff


But now I wanted zo extend it to recognize local deliveries. I just get
errors :(

*@*     ${if {match { ${delivery} {local}}} \
                {lookup {$1} lsearch {/etc/userdb} {$value} fail} } Ff


# /etc/rc.d/init.d/exim.init start
Starting exim: exim 1999-10-25 18:57:45 Exim configuration error
unknown rewrite flag character ({) in line 523

Is it possible to use this in the rewrite rules? Who knows an solution?

Nikolaus