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

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: David Ranson
Ημερομηνία:  
Προς: John
Υ/ο: exim-users
Αντικείμενο: 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