[exim] multiple hosts in route_data

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: news
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [exim] multiple hosts in route_data
Hi,

we run a exim setup with mysql and use route_data in our send_to_gateway
router. Is it possible to have more than one host in the database field?
For example when one is not reachable / has no A record because of dns
problems. I tried to add 2 in the database seperated with a : but exim
always wants to use the first one.

route_data = ${lookup mysql{select domain,routedata,quota from
mail.domains where domain='$domain'}{${extract{routedata}{$value}}}}

Thanks!