Failed expand string in manualroute

I try add route with redirect based on mx record.

But my regexp never work.

Exim 4.90, os ubontu 18.04.

My config:

  driver     = manualroute
  #condition = ${lookup dnsdb{mxh=^mxd.mydom.net}{true}fail}
  condition  = ${lookup dnsdb{mxh=^.*$}{true}fail}
  transport  = non_mydom
  route_list = * 192.168.0.11

Test routing failed:

mk@mydom.net
    <-- mk@mydom.net
  router = dnslookup, transport = remote_smtp
  host mx1.mydom.net [xxxx] MX=10
  host mx2.mydom.net [xxxx] MX=20

Go to Source
Author: Terentev Maksim