[exim-dev] [Bug 1328] New: log actual failing lookup for tem…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Andreas Metzler
Date:  
À: exim-dev
Nouveaux-sujets: [exim-dev] [Bug 1328] log actual failing lookup for temporary DNS problems, [exim-dev] [Bug 1328] log actual failing lookup for temporary DNS problems, [exim-dev] [Bug 1328] log actual failing lookup for temporary DNS problems, [exim-dev] [Bug 1328] log actual failing lookup for temporary DNS problems, [exim-dev] [Bug 1328] log actual failing lookup for temporary DNS problems
Sujet: [exim-dev] [Bug 1328] New: log actual failing lookup for temporary DNS problems
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1328
           Summary: log actual failing lookup for temporary DNS problems
           Product: Exim
           Version: 4.77
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Logging
        AssignedTo: nigel@???
        ReportedBy: eximusers@???
                CC: exim-dev@???



Forwarded from <http://bugs.debian.org/670035> where Ian Jackson wrote:


My config contains (reformatted for readability):

hostlist relay_hosts = +ignore_unknown : \
chiark.greenend.org.uk : localhost : permutation-city.greenend.org.uk : \
10.0.0.0/8 : 172.16.0.0/12 : 192.168.0.0/16 : \
[ a list of hostnames for which I will relay ]

and

 begin acl
 check_recipient:
 [...]
   accept  hosts = +relay_hosts
   deny    message = relay not permitted


Currently, one of those hostnames is not resolveable - it gives a
temporary DNS lookup error. When another host, later in the list,
tries to relay, Exim concludes (arguably correctly[1]) that the acl
should return "defer"; as a result the RCPT message must get a
temporary failure response.

However, the actual cause of the deferral is neither logged nor told
to the caller.  The mainlog and rejectlog get:
   2012-04-22 13:25:59 H=(liberator.relativity.greenend.org.uk)
     [172.18.45.4] U=ian F=<ijackson@???> temporarily
     rejected RCPT <******>
and the caller gets:
   451 Temporary local problem - please try later


Hosts which are listed in the hostlist but which get NXDOMAIN from
the DNS _are_ logged, eg:
   2012-04-22 13:25:59 no IP address found for host
     *****.org.uk (during SMTP connection from
     (liberator.relativity.greenend.org.uk) [172.18.45.4])


But these are of course not the cause of the deferral. The host whose
DNS was broken, and whose entry in the hostlist is thus causing
everything not to work, is not mentioned. I was able to debug the
problem only by running exim in a debug mode with the debugging
messages turned right up, and inspecting the output closely.

I think this situation warrants a message to the log.

Thanks,
Ian.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email