Re: [Exim] special transport for special domains

Pàgina inicial
Delete this message
Reply to this message
Autor: Matthew Byng-Maddick
Data:  
A: exim-users@exim.org
Assumpte: 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/