Re: [EXIM] headers_add failed

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Rudolf Kompf
Cc: exim-users
Asunto: Re: [EXIM] headers_add failed
On Fri, 17 Apr 1998, Rudolf Kompf wrote:

> -> > headers_add = "from:ABSENDER\nreply-to:ABSENDER"
> -> >
> -> > ABSENDER = "${lookup{$sender_address_local_part}\
> -> > lsearch{/usr/exim/absender}{$value}{$sender_address}}"


Ah! There's the problem. Sorry I didn't see it before. That should be

ABSENDER = ${lookup{$sender_address_local_part}\
lsearch{/usr/exim/absender}{$value}{$sender_address}}

because a macro includes *all* characters, including quotes. When I
tried this, I got the error

1998-04-17 14:24:34 Exim configuration error
extra characters follow string value for headers_add in line 348

which I'm surprised you didn't get. When I tried with the quotes
removed, it worked.

-- 
Philip Hazel                   University Computing Service,
ph10@???             New Museums Site, Cambridge CB2 3QG,
P.Hazel@???          England.  Phone: +44 1223 334714



--
*** Exim information can be found at http://www.exim.org/ ***