[exim-dev] [Bug 1289] New: 10.14: Is there a wrong example?

Startseite
Nachricht löschen
Nachricht beantworten
Autor: 1289
Datum:  
To: exim-dev
Neue Treads: [exim-dev] [Bug 1289] 10.14: Is there a wrong example?, [exim-dev] [Bug 1289] 10.14: Is there a wrong example?
Betreff: [exim-dev] [Bug 1289] New: 10.14: Is there a wrong example?
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1289
           Summary: 10.14: Is there a wrong example?
           Product: Exim
           Version: 4.80
          Platform: Other
               URL: http://git.exim.org/exim.git/blob_plain/HEAD:/doc/doc-
                    docbook/spec.xfpt
        OS/Version: All
            Status: NEW
          Severity: bug
          Priority: low
         Component: Documentation
        AssignedTo: nigel@???
        ReportedBy: regid23@???
                CC: exim-dev@???



The following patch deletes an example which, I think, is plain wrong.
I did not replaced it with another example because I could not think of
any. There is also a suggested usage for the +ignore_unknown directive
at the next paragraph of the text, where it is mentioned that it can
cancel a previous +include_unknown directive. In fact, is there any
difference between +ignore_unknown and the default behavior?
I think the example is plain wrong because it mentions name lookup
for 192.168.4.5. Yet, in the hosts = < host list> section in ACL
conditions (42.24), it is explicitly stated that

    It can test IP addresses without doing any DNS lookups


My understanding is that no DNS lookups on these circumstances is also
implied in the Host list patterns that match by IP address (10.11)
section:

    * If the pattern is an IP address, it is matched against the
      IP address of the subject host.



--- a/spec.xfpt 2012-08-24 21:35:19.000000000 +0300
+++ b/spec.xfpt 2012-08-24 22:42:09.000000000 +0300
@@ -8240,15 +8240,7 @@ any hosts whose name it cannot find.

 .next
 If any item that follows &`+ignore_unknown`& requires information that cannot
-be found, Exim ignores that item and proceeds to the rest of the list. For
-example:
-.code
-accept hosts = +ignore_unknown : friend.example : \
-               192.168.4.5
-.endd
-accepts from any host whose name is &'friend.example'& and from 192.168.4.5,
-whether or not its host name can be found. Without &`+ignore_unknown`&, if no
-name can be found for 192.168.4.5, it is rejected.
+be found, Exim ignores that item and proceeds to the rest of the list.
 .endlist


Both &`+include_unknown`& and &`+ignore_unknown`& may appear in the same


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