Re: [Exim] special transport for special domains

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Matthew Byng-Maddick
Date:  
À: exim-users@exim.org
Sujet: 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/