Re: [Exim] headers_rewrite in the transport section

Pàgina inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
A: Klein, Stefan
CC: exim-users
Assumpte: Re: [Exim] headers_rewrite in the transport section
On Mon, 16 Dec 2002, Klein, Stefan wrote:

> If i use:
>
> |*@materna.de    "${lookup mysql{select eMail from tbl_Mitarbeiter \
> |                               where ID_Mitarbeiter like \
> |                               '${quote_mysql:$local_part}'}\
> |                               {$value}fail}" TtFf

>
> In the "rewrite section" it works as exspected, but if i use it in the
> "remote_smtp" subsection of the transport section i get following error:
>
> |$/usr/sbin/exim -brw skl@???
> |2002-12-16 13:52:54 Exim configuration error
> |domain missing in rewrite key string "$local_part}'}{$value}fail}" in line
> 285
>
> Can you give me a hint what the problem is?


headers_rewrite in a transport is a list. The list separator is a colon.
Enough of a hint?

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