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

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Juergen Edner
Dátum:  
Címzett: exim-users
Tárgy: [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
---