From: Jeremy Harris Date: Sat, 25 Jul 2015 12:50:43 +0000 (+0100) Subject: Docs: add detail on keys for lookups X-Git-Tag: exim-4_87_RC1~141 X-Git-Url: https://vcs.fsf.org/?p=exim.git;a=commitdiff_plain;h=d0b7196e1cb77cf20c468cc5cddc0468ee67ef57;hp=0d9b78befeb73ef16ae43263ff9ef7f4fd07cb4a Docs: add detail on keys for lookups --- diff --git a/doc/doc-docbook/spec.xfpt b/doc/doc-docbook/spec.xfpt index 5dc0ad91c..0fc3cf1db 100644 --- a/doc/doc-docbook/spec.xfpt +++ b/doc/doc-docbook/spec.xfpt @@ -6243,12 +6243,14 @@ cause parts of the string to be replaced by data that is obtained from the lookup. Lookups of this type are conditional expansion items. Different results can be defined for the cases of lookup success and failure. See chapter &<>&, where string expansions are described in detail. +The key for the lookup is specified as part of the string expansion. .next Lists of domains, hosts, and email addresses can contain lookup requests as a way of avoiding excessively long linear lists. In this case, the data that is returned by the lookup is often (but not always) discarded; whether the lookup succeeds or fails is what really counts. These kinds of list are described in chapter &<>&. +The key for the lookup is given by the context in which the list is expanded. .endlist String expansions, lists, and lookups interact with each other in such a way