Re: [Exim] special transport for special domains

Pàgina inicial
Delete this message
Reply to this message
Autor: Tamas TEVESZ
Data:  
A: Thomas Baumann
CC: exim-users@exim.org
Assumpte: 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)