Auteur: Jeremy Harris Date: À: exim-users Sujet: Re: [exim] localhost [reverse] lookup reaches external/global DNS
On 07/12/2019 19:27, Konstantin Kletschke via Exim-users wrote: > In order to fully IPv6 enabling this I found a configuration errort
> symptom I am too stupid to fix. > When /etc/resolv.conv nameserver's are google, i.e. do _no_ localhost
> handling, I get something like this: > 2019-12-07 14:57:33 SMTP connection from [127.0.0.1]:49642
> I=[127.0.0.1]:10025 (TCP/IP connection count = 2)
> 2019-12-07 14:57:33 H=(localhost) [127.0.0.1]:49642 I=[127.0.0.1]:10025
> rejected MAIL <test@???>: host lookup failed (127.0.0.1 does not
> match any IP address for localhost) > Who, where, when is the reverse lookup failure complained about exactly?
In that log section there.
> Is this exim on port 10025 receiving the mail back from amavisd-new?
It's certainly 10025 - it logged that.
>
>
> I have two issue with the system, may be they are related:
We've found one thing to fix; get that done and re-evaluate.
> Where is my hitch that localhost lookups reach the outer world?
> /etc/hosts has loclhost entries for 127.0.0.1 and ::1.
There's something wrong with that /etc/hosts entry.
Check the spelling, for a start :)
Check also that /etc/nsswitch.conf says to use "files" as well as
dns, for hosts (files => /etc/hosts for host lookups).
--
Cheers,
Jeremy