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

Pàgina inicial
Delete this message
Reply to this message
Autor: Juergen Edner
Data:  
A: exim-users
Assumpte: [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
---