Re: [exim] Email sent out depending on port received

Top Page
Delete this message
Reply to this message
Author: Phil Pennock
Date:  
To: Jeroen van Aart
CC: exim-users
Subject: Re: [exim] Email sent out depending on port received
On 2008-04-23 at 18:37 -0700, Jeroen van Aart wrote:
> direct_outbound:
>         debug_print = "R: dnslookup for $local_part@$domain"
>         driver = dnslookup
>         domains = ! +local_domains
>         transport = remote_smtp
>         same_domain_copy_routing = yes
>         # ignore private rfc1918 and APIPA addresses
>         ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8 : 192.168.0.0/16 :\
>                 172.16.0.0/12 : 10.0.0.0/8 : 169.254.0.0/16 :\
>                 255.255.255.255
>         condition = ${if =={$interface_port}{24}}
>         no_more

>
> How would I change this to allow email with a local domain(s) as
> recipient to be sent to one or more specific IP addresses?


Have a think. What would you need?

Another router with "domains = +local_domains", manualroute Driver
instead of dnslookup and the relevant route_data/route_list
configuration?

-Phil