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

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

jbendtsen: "Jon Bendtsen" <jbendtsen@???>


I have some external users, that doesnt have an email address in my
domain.
Thus i am trying to do a lookup based on the username, and set the
correct
sender address. I found
http://www.exim.org/exim-html-4.30/doc/html/FAQ_8.html#TOC261
to be partly usefull (at first it forgot to mention where in the .conf
file i should put it)


any hints?



JonB