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

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Jon Bendtsen
CC: exim-users
Subject: Re: [Exim] domain missing in rewrite key string "$1}dbm{/etc/exim/user2email}{$value}fail}" in line 286
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.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book