Re: [exim] selectively routing outgoing traffic based on dom…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: David Ranson
Dátum:  
Címzett: John
CC: exim-users
Tárgy: Re: [exim] selectively routing outgoing traffic based on domain
John wrote:

>I'm looking for a method of sending outgoing mail, which, if destined for a
>particular domain (let's say aol.com), gets routed through
>some.smarthost.ip.address whereas the rest of it gets delivered via DNS as
>normal. There are many ways in the documentation showing routing inbound
>
>

You'll need something like this in the routers section before dnslookup

begin routers

smarthost:
driver = manualroute
transport = remote_smtp
route_list = *.domain.com <smarthost address>; domain2.net <smarthost
address>

dnslookup:
...
...

Cheers
David