[Pkg-exim4-users] Using exim4 internally on a 10.x.x.x network

Marc Haber mh+pkg-exim4-users@zugschlus.de
Tue, 31 May 2005 21:35:25 +0200


Hi,

On Tue, May 31, 2005 at 02:48:19PM -0400, Doherty, Chris - Elmira, ON wrote:
> Issue Tracker uses the local MTA to send and receive email.  exim4 was set
> up on install as an Internet mail server, since I need it to both send and
> receive email from other servers (internal Exchange servers).  The internal
> network uses a 10.0.0.0/23 address range, and this box does not need to send
> or receive email outside of the internal network.
> 
> exim4 is throwing the "unrouteable address" error.  Below is the output of
> exim4 -d -bt chris.doherty@cromptoncorp.com.  It looks to me like 1) the
> local internal DNS server does not have an MX record for the mail domain,
> and 2) exim4 is refusing to send to any IP address in a 10.0.0.0/8 range.

exim4 is by default ignoring target hosts in the site local, link
local and host local IP ranges for "foreign" domains since we assume
that the local admin doesn't have control about these domains.

It does not have these ignores in place for domains it is configured
to relay to, since we assume that the operator of a backup MX does
have at least a vague connection to the domain owner and could
therefore have DNS errors corrected.

You could try putting your internal domain in the dc_relay_domains
field in /etc/exim4/update-exim4.conf.conf. This will solve your issue
as a side effect.

I'd like to compliment your report. You have delivered a correct
analysis, and debugging info which allowed me to verify my assumption.

If there is anything more I can do, please get in touch.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835