LOG: queue_run MAIN
Start queue run: pid=1709 -qf
LOG: MAIN
== m.dongili@??? R=smarthost defer (-1): smarthost router: failed to expand "${if": condition name expected, but found ""
LOG: queue_run MAIN
End queue run: pid=1709 -qf
or
LOG: queue_run MAIN
Start queue run: pid=1861 -qf
T: remote_smtp for m.dongili@???
LOG: MAIN PANIC
== m.dongili@??? R=smarthost T=remote_smtp defer (-1): TCP port "${if exists{/etc/exim4/work-env}{8025}{25}}" is not defined for remote_smtp transport
LOG: queue_run MAIN
End queue run: pid=1861 -qf
I'm clueless... I tried enclosing the 2 conditions between "" and not
using macros but the result doesn't change