RE: [Exim] DNS problem with Exim 4.20 under RedHat-9

Top Page
Delete this message
Reply to this message
Author: Stanier, Alan M
Date:  
To: exim-users
Subject: RE: [Exim] DNS problem with Exim 4.20 under RedHat-9
Philip

Here are the results using -d+resolver

To compare the two versions, I have 4.05 as /usr/sbin/exim
and 4.20 as /tmp/bin/exim on the same machine.

I ran a -bt test with the two versions, using the same
configuration file, getting different results ...

[root@serlinux14 /root]# /usr/sbin/exim -C /essex/exim/serlinux14_incoming -bt -d+resolver
Exim version 4.05 uid=0 gid=0 pid=19016 L=834cd8 D=ffff577f
Berkeley DB: Sleepycat Software: Berkeley DB 3.1.17: (July 31, 2000)
changed uid/gid: forcing real = effective
uid=0 gid=0
auxiliary group list: <none>
trusted user
admin user
originator: uid=0 gid=0 login=root name=root
sender address = root@???
Address testing: uid=0 gid=12 euid=0 egid=12
> alan

        [ stuff omitted ]
--------> exchange router <--------
local_part=alan domain=essex.ac.uk
checking domains
essex.ac.uk in "essex.ac.uk"? yes (matched "essex.ac.uk")
calling exchange router
exchange router called for alan@???
  domain = essex.ac.uk
search_open: dbm "/essex/exim/exchange"
search_find: file="/essex/exim/exchange"
  key="alan" partial=-1
LRU list:
  1/essex/exim/exchange
  1/essex/exim/majordomo
  End
internal_search_find: file="/essex/exim/exchange"
  type=dbm key="alan"
file lookup required for alan
  in /essex/exim/exchange
lookup yielded: exchange5
original hostlist=exchange5 options=
expanded hostlist="exchange5" options=
set transport remote_smtp
fully qualified name = sernt4.essex.ac.uk
sernt4.essex.ac.uk 155.245.48.30
queued for remote_smtp transport: local_part = alan
domain = essex.ac.uk
  errors_to=NULL
  domain_data=NULL localpart_data=NULL
routed by exchange router
  envelope to: alan@???
  transport: remote_smtp
  host sernt4.essex.ac.uk [155.245.48.30]
alan@???
  router = exchange, transport = remote_smtp
  host sernt4.essex.ac.uk [155.245.48.30]

>

[root@serlinux14 /root]# ^usr/s^tmp/^
/tmp/bin/exim -C /essex/exim/serlinux14_incoming -bt -d+resolver
Exim version 4.20 uid=0 gid=0 pid=19068 D=fbf95cfd
Berkeley DB: Sleepycat Software: Berkeley DB 3.1.17: (July 31, 2000)
Support for:
Authenticators:
Routers: accept dnslookup ipliteral iplookup manualroute queryprogram redirect
Transports: appendfile autoreply pipe smtp
changed uid/gid: forcing real = effective
uid=0 gid=0 pid=19068
auxiliary group list: <none>
configuration file is /essex/exim/serlinux14_incoming
log selector = 020091c8
trusted user
admin user
finduser used cached passwd data for mail
finduser used cached passwd data for mail
finduser used cached passwd data for root
originator: uid=0 gid=0 login=root name=root
sender address = root@???
Address testing: uid=0 gid=12 euid=0 egid=12
> alan
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

        [ stuff deleted ]
--------> exchange router <--------
local_part=alan domain=essex.ac.uk
checking domains
essex.ac.uk in "essex.ac.uk"? yes (matched "essex.ac.uk")
calling exchange router
exchange router called for alan@???
  domain = essex.ac.uk
search_open: dbm "/essex/exim/exchange"
search_find: file="/essex/exim/exchange"
  key="alan" partial=-1 affix=NULL starflags=0
LRU list:
  1/essex/exim/exchange
  1/essex/exim/majordomo
  End
internal_search_find: file="/essex/exim/exchange"
  type=dbm key="alan"
file lookup required for alan
  in /essex/exim/exchange
lookup yielded: exchange5
original hostlist=exchange5 options=
expanded hostlist="exchange5" options=
set transport remote_smtp
finding IP address for exchange5
doing DNS lookup
DNS lookup of exchange5 (A) gave HOST_NOT_FOUND
returning DNS_NOMATCH
DNS lookup failed: trying getipnodebyname
gethostbyname returned 1 (HOST_NOT_FOUND)
no IP address found for host exchange5
exchange router: defer for alan@???
  message: lookup of host "exchange5" failed in exchange router
alan@??? cannot be resolved at this time:
  lookup of host "exchange5" failed in exchange router



So, 4.05 didn't do a DNS lookup, 4.20 did, and failed.

Alan


> -----Original Message-----
> From: Philip Hazel [mailto:ph10@cus.cam.ac.uk]
> Sent: 19 September 2003 16:15
> To: Stanier, Alan M
> Cc: exim-users@???
> Subject: Re: [Exim] DNS problem with Exim 4.20 under RedHat-9
>
>
> On Fri, 19 Sep 2003, Stanier, Alan M wrote:
>
> > DNS lookup of exchange5 (A) gave HOST_NOT_FOUND
> > returning DNS_NOMATCH
> > alan@??? cannot be resolved at this time:
> > lookup of host "exchange5" failed in exchange router
> > > ^C
> >
> > If I read this right, the system works out (correctly)
> > that my mail should be sent on to exchange5, but the DNS
> > lookup of that fails.
> >
> > However, there is an A-record for exchange5 ...
> >
> > [root@serlinux06 exim-4.20]# nslookup -sil
> > > exchange5
> > Server:         155.245.48.10
> > Address:        155.245.48.10#53

> >
> > exchange5.essex.ac.uk canonical name = sernt4.essex.ac.uk.
>
> Well, if I've read that right (I tend to use "dig" myself), it shows
> there is a CNAME record for "exchange5.essex.ac.uk", which isn't the
> same thing as an A record for "exchange5".
>
> Run the test with full debugging, including the DNS resolver
> stuff, i.e.
> with -d+resolver. That will show the DNS calls that are being made.
>
> Have you set/changed the qualify_single option on the
> dnslookup router?
>
> Are you testing on the same box as the running 4.05? If not, is the
> resolver configuration the same? (Somebody reported something similar
> between two different OS recently.)
>
> > Can anyone suggest what I am doing wrong? Are there configuration
> > options in 4.20 that mean my 4.05 configurtion file needs some
> > editing?
>
> I don't think so, at least, I can't recall any in this kind of area.
>
> --
> Philip Hazel            University of Cambridge Computing Service,
> ph10@???      Cambridge, England. Phone: +44 1223 334714.
> Get the Exim 4 book:    http://www.uit.co.uk/exim-book

>
>