Re: [exim] route from IP

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Todd Lyons
Dátum:  
Címzett: Peter Kirk
CC: exim-users
Tárgy: Re: [exim] route from IP
On Fri, Feb 11, 2011 at 1:56 AM, Peter Kirk <peterki@???> wrote:
> Hi All
>
> Could someone please help me out with a router.  I have tried but gotten
> no where L
>
> I need a router to route email from domain X.com to IP address
> 10.10.10.10 but only if it comes from the host 10.20.20.20


So you have if
1. Must come from host 10.20.20.20
2. sender domain must be X.com

Then smarthost it to 10.10.10.10.

Use chapters 15 and 20 (Generic router options and manualroute router
options) to construct the following router:

r_smarthost_x_com:
driver = manualroute
domains = X.com
transport = remote_smtp
# Using the raw IP addresses
# route_list = @[10.20.20.20] @[10.10.10.10]
# Using hostnames (my personal preference)
route_list = hostname_of_10.20.20.20 hostname_of_10.10.10.10

Untested, should work though.
--
Regards...      Todd
I seek the truth...it is only persistence in self-delusion and
ignorance that does harm.  -- Marcus Aurealius