Re: [Exim] special transport for special domains

Top Page
Delete this message
Reply to this message
Author: Tamas TEVESZ
Date:  
To: Thomas Baumann
CC: exim-users@exim.org
Subject: 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)