Re: [Exim] Re-Routing mail to certain MX

Top Page
Delete this message
Reply to this message
Author: Karsten Behrens
Date:  
To: Phil White
CC: exim-users
Subject: Re: [Exim] Re-Routing mail to certain MX
Hi!

>>I'm running exim 4.22. Because of a problem with a certain protocol
>>(ECN) I cannot disable in my kernel, I cannot connect to a certain host
>>(let's call it [1.2.3.4]) which is MX for a lot of domains.
> Sorry.
> Do you mean "Can't disable, because I need it", or "it's on, and I don't want
> it"?
> echo 0 > /proc/sys/net/ipv4/tcp_ecn
> will turn it off.


It's on, I don't want it, but I can't turn it off using the command you
posted because I'm on a virtual server and don't have permission to
alter this kernel parameter, even though I'm root.

> Otherwise, this is what I use:
> # ROUTERS
> #########
> hubbed:
>   driver           = manualroute
>   domains          = ! +local_domains
>   route_data       = ${lookup{$domain}lsearch*{/var/lib/exim/hubbed.hosts}}
>   #                  This file lists all the domains we forward
>   host_find_failed = freeze
>   transport        = special_smtp

>
> File contains the data as follows:
>
> domain_we_act_as_smarthost_for:         host_to_send_to
> etc...
> Hope this helps.


Sorry, it doesn't :-)

This will forward to other hosts based on the E-Mail domain name of the
recipient. What I need is forwarding based on the IP address of the MX
of the recipient's E-Mail domain.

Thanks anyways :-)

Greetings
Karsten