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

Doherty, Chris - Elmira, ON chris.doherty@cromptoncorp.com
Tue, 31 May 2005 14:48:19 -0400


Hello, all.

I am running Debian sarge updated, with Apache2, PHP4, exim4, and Issue
Tracker (http://www.issue-tracker.com).  This box is intended as a stopgap
trouble ticket system.

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.

Is that correct?  (Please bear in mind that I know almost nothing about
exim4, and very little about MTAs on Unix/Linux in general, although I have
a good background in SMTP).
Is there a more sensible option for autoconfiguring exim4, perhaps through
dpkg-reconfigure?  Or is there a simple and recommended way of configuring
exim4 as an internal mail server (i.e. not connected to the Internet)?

Exim version 4.50 uid=0 gid=0 pid=2022 D=fbb95cfd
Berkeley DB: Sleepycat Software: Berkeley DB 4.2.52: (December  3, 2003)
Support for: iconv() IPv6 GnuTLS
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dsearch
nis nis0 passwd
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
Fixed never_users: 0
changed uid/gid: forcing real = effective
  uid=0 gid=0 pid=2022
  auxiliary group list: <none>
configuration file is /var/lib/exim4/config.autogenerated
log selectors = 00000ffc 00020800
trusted user
admin user
user name "root" extracted from gecos field "root"
originator: uid=0 gid=0 login=root name=root
sender address = root@caelm-it01.cromptoncorp.com
Address testing: uid=0 gid=102 euid=0 egid=102
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Testing chris.doherty@cromptoncorp.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Considering chris.doherty@cromptoncorp.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
routing chris.doherty@cromptoncorp.com
--------> hubbed_hosts router <--------
local_part=chris.doherty domain=cromptoncorp.com
checking domains
expansion of "${if
exists{/etc/exim4/hubbed_hosts}{partial-lsearch;/etc/exim4/hubbed_hosts}fail
}" forced failure: assume not in this list
hubbed_hosts router skipped: domains mismatch
--------> dnslookup_relay_to_domains router <--------
local_part=chris.doherty domain=cromptoncorp.com
checking domains
cromptoncorp.com in "@:localhost:caelm-it01.cromptoncorp.com"? no (end of
list)
cromptoncorp.com in ""? no (end of list)
cromptoncorp.com in "! +local_domains : +relay_to_domains"? no (end of list)
dnslookup_relay_to_domains router skipped: domains mismatch
--------> dnslookup router <--------
local_part=chris.doherty domain=cromptoncorp.com
checking domains
cached no match for +local_domains
cached lookup data = NULL
cromptoncorp.com in "! +local_domains"? yes (end of list)
R: dnslookup for chris.doherty@cromptoncorp.com
calling dnslookup router
dnslookup router called for chris.doherty@cromptoncorp.com
  domain = cromptoncorp.com
DNS lookup of cromptoncorp.com (MX) gave NO_DATA
returning DNS_NODATA
DNS lookup of cromptoncorp.com (AAAA) gave NO_DATA
returning DNS_NODATA
DNS lookup of cromptoncorp.com (A) succeeded
10.30.1.18 in "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"? yes (matched "10.0.0.0/8")
ignored host cromptoncorp.com [10.30.1.18]
10.30.1.17 in "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"? yes (matched "10.0.0.0/8")
ignored host cromptoncorp.com [10.30.1.17]
10.20.83.5 in "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"? yes (matched "10.0.0.0/8")
ignored host cromptoncorp.com [10.20.83.5]
10.100.1.2 in "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"? yes (matched "10.0.0.0/8")
ignored host cromptoncorp.com [10.100.1.2]
10.100.1.1 in "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"? yes (matched "10.0.0.0/8")
ignored host cromptoncorp.com [10.100.1.1]
dnslookup router declined for chris.doherty@cromptoncorp.com
"more" is false: skipping remaining routers
no more routers
search_tidyup called
>>>>>>>>>>>>>>>> Exim pid=2022 terminating with rc=2 >>>>>>>>>>>>>>>>


Chris Doherty
On contract to Crompton Co./Cie
Elmira: (519) 669-1671 x319