Re: [Exim] domain missing in rewrite key string "$1}dbm{/etc…

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Jon Bendtsen
Fecha:  
A: exim-users
Asunto: Re: [Exim] domain missing in rewrite key string "$1}dbm{/etc/exim/user2email}{$value}fail}" in line 286
Den 12. maj 2004, kl. 21:41, skrev Philip Hazel:

> On Wed, 12 May 2004, Jon Bendtsen wrote:
>
>> exim.conf contains: at line 284-286
>>
>> remote_smtp:
>>      driver = smtp
>>      headers_rewrite = *@laerdal.dk
>> ${lookup{lc:$1}dbm{/etc/exim/user2email}{$value}fail} bcfrtFT

>
> The error message gives the clue. It is splitting your string.
> headers_rewrite is a list. List separators are colons. Double the
> colon.


Do you mean?
    headers_rewrite = *@laerdal.dk
${lookup{lc::$1}dbm{/etc/exim/user2email}{$value}fail} f


http://www.exim.org/exim-html-4.30/doc/html/FAQ_8.html#TOC261
which i stole it from didnt have 2 : maybe that should be corrected if
it needs to be a double ::

i just tried from my jbendtsen account, and it didnt write the other
address i wanted it to :(

user2email contains one line
jbendtsen: jon.bendtsen

i also tried with this line
    headers_rewrite = *@laerdal.dk
${lookup{lc::$1}dbm{/etc/exim/user2email}{$value}fail}@??? f


still no rewrite is done :(



JonB