Re: [Exim] special transport for special domains

Etusivu
Poista viesti
Vastaa
Lähettäjä: Matthew Byng-Maddick
Päiväys:  
Vastaanottaja: exim-users@exim.org
Aihe: Re: [Exim] special transport for special domains
On Mon, Oct 28, 2002 at 01:59:12PM +0100, Tamas TEVESZ wrote:
> north:
> condition = ${if match{$domain}{^.*@internal-north.*}{1}{0}}
> driver = domainlist
> route_list = "* 192.168.10.25 byname"
> transport = remote_smtp
>
> south:
> condition = ${if match{$domain}{^,*@internal-south.*}{1}{0}}

                                     ^

> driver = domainlist
> route_list = "* 192.168.20.25 byname"
> transport = remote_smtp


Yuck. See Nico's message for a better way of doing it.

Even better, read your route-list out of a file.

MBM

--
Matthew Byng-Maddick         <mbm@???>           http://colondot.net/