Re: [exim] More routing

Top Pagina
Delete this message
Reply to this message
Auteur: John Oxley
Datum:  
Aan: exim-users
Onderwerp: Re: [exim] More routing
On Tue, Apr 12, 2005 at 11:21:02AM +0100, Tony Finch wrote:
> On Tue, 12 Apr 2005, John Oxley wrote:
> >
> > I have a routers.conf with about 150 entries similar to:
> > hub_route_foo:
> >     driver = manualroute
> >     transport = remote_smtp
> >     route_list = foo.com 1.2.3.4

> >
> > I have a mysql table with foo.com and 1.2.3.4 in it.
>
> Use one router like the above, but replace the route_list setting with a
> route_data setting which performs a MySQL query using $domain as a key.


You mean
route_list = {$lookup mysql{select domain,ip from domains}}

Is it really that simple ?