[exim-dev] [Bug 415] "MX points to IP address" not being det…

Startseite
Nachricht löschen
Nachricht beantworten
Autor: World Wide Web Owner
Datum:  
To: exim-dev
Betreff: [exim-dev] [Bug 415] "MX points to IP address" not being detected
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

http://www.exim.org/bugzilla/show_bug.cgi?id=415


ph10@??? changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED





------- Comment #2 from ph10@??? 2006-11-20 13:56 -------
(In reply to comment #0)
> The problem is that some implementations of res_search() will recognize
> "A-for-A" queries and return the IP address, rather than returning
> HOST_NOT_FOUND as Exim seems to expect.
>
> I actually noticed this when trying out the test harness, test #0145 was
> failing on me by accepting the address.
>
> I will attach a patch momentarily.


I see the issue, but I don't like your patch, I'm afraid. I do not like the
idea of mixing this test up with the special code for fake DNS lookups for the
test suite. Instead, I have implememented a much smaller patch, that does the
check just before it calls either the real resolver or the fake one. I've
committed this code.


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