On Fri, 17 Apr 1998, Philip Hazel wrote:
-> Date: Fri, 17 Apr 1998 12:49:40 +0100 (BST)
-> From: Philip Hazel <ph10@???>
-> To: Rudolf Kompf <kompf@???>
-> Cc: exim-users@???
-> Subject: 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}}"
-> >
-> > Then I get the expected From: header (e.g.
-> >
-> > From: Rudolf Kompf <kompf@???>
-> >
-> > which is the $value of the file-lookup. But the Reply-To header is
-> > missing!!
-> >
-> > I then tested the line
-> >
-> > headers_add = "from:ABSENDER\nreply-to:abc@???"
-> >
-> > where there is no expansion of the reply-to-address needed. And this
-> > works, but is not my intention.
-> >
-> > What is wrong?
->
->
-> I don't know. I have just tested a very similar configuration and it all
-> works for me. On which director, router, or transport did you put the
-> headers_add line?
->
->
-> --
-> Philip Hazel University Computing Service,
-> ph10@??? New Museums Site, Cambridge CB2 3QG,
-> P.Hazel@??? England. Phone: +44 1223 334714
->
These are the lines in configure:
ABSENDER = (as shown in my 1st mail, see above)
smart_route:
driver = domainlist
transport = remote_smtp
route_list = "* mail.de.uu.net bydns_a"
headers_remove = "{Reply-To:}:${if !def:h_resent-to: {From:}}"
headers_add = "from:ABSENDER\nreply-to:ABSENDER"
--
-----------------------------------------------------------------------
Rudolf Kompf | E-mail: kompf@???
--
*** Exim information can be found at
http://www.exim.org/ ***