Re: [Exim] special transport for special domains

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Tamas TEVESZ
Fecha:  
A: Thomas Baumann
Cc: exim-users@exim.org
Asunto: 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)