Re: [Exim] special transport for special domains

Etusivu
Poista viesti
Vastaa
Lähettäjä: Tamas TEVESZ
Päiväys:  
Vastaanottaja: Thomas Baumann
Kopio: exim-users@exim.org
Aihe: Re: [Exim] special transport for special domains
On Mon, 28 Oct 2002, Thomas Baumann wrote:

> How can exim be configured that mails
> sent to external are sent over remote_smtp,
> mails to *@internal-north.* sent over 192.168.10.25:25,
> and mails to *@internal-south.* sent over 192.168.20.25:25 ?


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

lookuphost:
driver = lookuphost
transport = remote_smtp

literal:
driver = ipliteral
transport = remote_smtp


--
(void)