Hi Todd,

I'm assuming the command you meant should've included -bh, since exim just sits 
waiting for
input otherwise? Included the relevant output of that below:

host in hosts_connection_nolog? no (option unset)
LOG: smtp_connection MAIN
  SMTP connection from [192.168.3.55]
host in host_lookup? yes (matched "*")
looking up host name for 192.168.3.55
DNS lookup of 55.3.168.192.in-addr.arpa (PTR) succeeded
IP address lookup yielded eeprobe.euroele.local
no IP address found for host eeprobe.euroele.local (during SMTP connection from 
[192.168.3.55])
LOG: host_lookup_failed MAIN
  no IP address found for host eeprobe.euroele.local (during SMTP connection 
from [192.168.3.55])
no IP addresses found for eeprobe.euroele.local
192.168.3.55 does not match any IP address for eeprobe.euroele.local

Dig is definitely using the resolver specified in /etc/resolv.conf by default. 
I've checked /etc/hosts
and there are only the standard ipv4 localhost lines in there. I run bind 
locally but not as a query
resolver for this machine. Just in case it was using that, I added my 'proper' 
resolvers to bind's
forwarders directive so it would return the same answers, but exim didn't care 
either way.

Interestingly, if I update the PTR and A records for eeprobe on the 
authoritative DNS server, such that they
resolve to eeprobe.euroele.com (instead of local) then exim resolves these 
properly and doesn't
complain at all. As soon as a switch it back to .local, it complains again. It 
seems to be there's
something particular to the .local addresses that exim doesn't like resolving. 
I also tried .invalid and .example
and they yielded the same failed lookups as .local. 

I'm unsure where to go from here.

James Mills

________________________________________
From: Todd Lyons [[email protected]]
Sent: 13 October 2012 16:55
To: James Mills
Cc: [email protected]
Subject: Re: [exim] strange resolver issue

On Fri, Oct 12, 2012 at 4:33 AM, James Mills <[email protected]> wrote:
> Hi all,
>
> I'm running exim 4.72 on Debian 6.0.6.
>
> I'm seeing messages in my mainlog when hosts on my own LAN connect to exim:
>
>         no IP address found for host eeprobe.euroele.local (during SMTP 
> connection from [192.168.3.55])
>
> exim4 -bh yields the following:

Use this command and show us the output:

exim4 -d-all+dns ip.add.re.ss

>>>> host in hosts_connection_nolog? no (option unset) host in
>>>> host_lookup? yes (matched "*") looking up host name for 192.168.3.55
>>>> IP address lookup yielded eeprobe.euroele.local no IP address found
>>>> for host eeprobe.euroele.local (during SMTP connection from
>>>> [192.168.3.55])

My guess is that it's only using /etc/hosts and not actually doing a
dns lookup, but I don't see anything that indicates that in the output
above, it's just a guess.

> LOG: no IP address found for host eeprobe.euroele.local (during SMTP 
> connection from [192.168.3.55])
>>>> no IP addresses found for eeprobe.euroele.local
>>>> 192.168.3.55 does not match any IP address for eeprobe.euroele.local
>
> However, I can do a forward lookup using dig on eeprobe.euroele.local and it 
> resolves to a single 'A'
> record 192.168.3.55 and a reverse lookup on 192.168.3.55 yields a single 
> 'PTR' 192.168.3.55.

Since you're using a Debian or Ubuntu, is this dig occurring against
the actual authoritative dns server or resolver, or is it against the
default, which is possibly dnsmasq listening on 127.0.0.1:53.  Check
to see what dig uses by default and then let's make sure that your
Debian exim4 is using what we think it is.

BTW, the above does indicate that your DNS at least appears to be
configured properly.

...Todd
--
The total budget at all receivers for solving senders' problems is $0.
 If you want them to accept your mail and manage it the way you want,
send it the way the spec says to. --John Levine

This message may contain information and/or data that is confidential and 
legally privileged.
It is intended solely for the addressee(s) only. If you are not the intended 
recipient you are
notified that any use, publication, reproduction or dissemination is strictly 
prohibited and
may violate certain laws. If you are not the intended recipient, please contact 
the sender by
return e-mail and destroy this and all copies of this message and/or data. The 
content of this
message has been scanned for viruses by MessageLabs and scanned by MailMarshal 
for unacceptable
language and inappropriate content. 

European Electronique Ltd, Forward House, Oakfields Ind. Est, Eynsham, Oxon, 
OX29 4TT, is a
company registered in the United Kingdom with registration number 1704440 and 
VAT registration
number 834853016.

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to