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

Góra strony
Delete this message
Reply to this message
Autor: Juergen Edner
Data:  
Dla: exim-users
Temat: [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
---