[exim] multiple hosts in route_data

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: news
Data:  
Para: exim-users
Assunto: [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!