[Exim] Exim 4.14 - no new-line sign allowed in route_list ex…

Top Page
Delete this message
Reply to this message
Author: Juergen Edner
Date:  
To: exim-users
Subject: [Exim] Exim 4.14 - no new-line sign allowed in route_list expansion string
Hello,
today I found out that is not allowed to add a new line sign to a
route_list expansion string. I think this should be fixed.

This works:
-----------

route_list = *
     ${extract{server}{${lookup{$domain}lsearch*{/etc/exim-smarthosts}}}}


This didn't work:
-----------------

route_list = *
     ${extract{server} \
     {${lookup{$domain}lsearch*{/etc/exim-smarthosts}}}}


And this is the error message which is written to the mainlog:

sender verify defer for <xxxxx>: smart_route router: failed to expand
"${extract{server}": missing or misplaced { or }

Jürgen Edner
--
Mail: juergen.edner@???
PGP Key available
---