Re: [Exim] special transport for special domains

Top Page
Delete this message
Reply to this message
Author: Matthew Byng-Maddick
Date:  
To: exim-users@exim.org
Subject: 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/