Re: [EXIM] transport based on regexp

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Alexander Koch
CC: exim-users, Andreas Edler
Subject: Re: [EXIM] transport based on regexp
On Wed, 11 Feb 1998, Alexander Koch wrote:

> Is it (now or soon or ...) possible to do a transport based on a regexp?
> For example, all the universities in Germany have a domain name like
> "uni-<city>.de" and it'd be really nice if this could be bundled to one
> transport since we've quite a good smarthost for all those, since the net
> those universities are in (WiN/DFN) is not that well connected to us, there's
> a big packet loss on the direct way.
> (just to give an example, I guess that this could be useful in other ways, too)


Set up a router like this, *before* the general lookuphost router:

uni_router:
driver = domainlist
domains = ^uni-\w+\.de$
transport = uni_transport
route_list = *


-- 
Philip Hazel                   University Computing Service,
ph10@???             New Museums Site, Cambridge CB2 3QG,
P.Hazel@???          England.  Phone: +44 1223 334714



--
*** Exim information can be found at http://www.exim.org/ ***