RE: [Exim] Flexible Static Routing

Top Page
Delete this message
Reply to this message
Author: Terry Shows
Date:  
To: Harald Meland
CC: exim-users
Subject: RE: [Exim] Flexible Static Routing
Thanks all for your answers.

In reading the manual, a misprint (or possible bug) gave me some unexpected
results.

Manual says you can put:

    Virtual_Router:
        {some stuff}
        routelist = domain1 host:host byname ;\
            domain2 host:host byname;\
            domain3  host:host byname


This does not work.

To make it work, I had to use:

    Virtual_Router1:
        {some stuff}
        routelist = domain1 host:host byname


    Virtual_Router2:
        {some stuff}
        routelist  = domain2 host:host byname


    Virtual_Router3
        {some stuff}
        routelist = domain3  host:host byname


Thanks again for all of the help

Terry


-----Original Message-----
From: exim-users-admin@??? [mailto:exim-users-admin@exim.org]On
Behalf Of Harald Meland
Sent: Sunday, August 10, 2003 9:48 AM
To: Terry.Shows@???
Cc: exim-users@???
Subject: Re: [Exim] Flexible Static Routing


[Terry Shows]

> Can you define multiple IP addresses in the route_list option of the
> router so that if the standard address (192.168.1.51) is not
> available it will use the secondard and go ahead and deliver it?


Yup, see sections 19.4 and 19.5 in the spec.

> (IE: route_list = host.com {192.168.1.51 OR 123.45.67.87} byname)


That should be

route_list = host.com 192.168.1.51:123.45.67.87 byname

or, alternatively

domains = host.com
route_data = 192.168.1.51:123.45.67.87 byname

--
Harald

--

## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
details at http://www.exim.org/ ##