[exim-dev] [Bug 1296] Are there missing items in section 11.…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: 1296
Date:  
À: exim-dev
Anciens-sujets: [exim-dev] [Bug 1296] New: Shouldn't $received_header_text be listed in section 11.9 Expansion variables?
Sujet: [exim-dev] [Bug 1296] Are there missing items in section 11.9, Expansion variables?
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1296




--- Comment #3 from regid23@??? 2012-09-17 11:13:24 ---
On Mon, Sep 17, 2012 at 05:15:38AM +0100, Phil Pennock wrote:
> ------- You are receiving this mail because: -------
> You reported the bug.
>
> http://bugs.exim.org/show_bug.cgi?id=1296
>
> Phil Pennock <pdp@???> changed:
>
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                  CC|                            |pdp@???
>              Status|NEW                         |RESOLVED
>          Resolution|                            |INVALID

>
>
>
>
> --- Comment #2 from Phil Pennock <pdp@???> 2012-09-17 05:15:37 ---
> Options and variables are not the same. You can assign to an option "foo", but
> that does not mean that there exists a variable "$foo".
>
> Both "received_header_text" and "smtp_banner" are options, which each take a
> string which will be expanded when needed, and that string can contain
> variables.
>
> You can not use "$smtp_banner" or "$received_header_text" meaningfully in Exim,
> they'd result in expansion failures for being unknown variables.
>
>
> --
> Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email



Is there a reason to add the following before section 14.1 ?

--- a/spec.xfpt 2012-09-17 01:01:18.000000000 +0300
+++ b/spec.xfpt 2012-09-17 13:05:06.000000000 +0300
@@ -12714,6 +12714,13 @@
<div class="pre"><a id="l12669" href="#l12669" class="linenr">12669</a>
an&nbsp;aid&nbsp;to&nbsp;finding&nbsp;the&nbsp;name&nbsp;of&nbsp;the&nbsp;option&nbsp;you&nbsp;are&nbsp;looking&nbsp;for.&nbsp;Some&nbsp;options&nbsp;are</div>
<div class="pre"><a id="l12670" href="#l12670" class="linenr">12670</a>
listed&nbsp;in&nbsp;more&nbsp;than&nbsp;one&nbsp;group.</div>
<div class="pre"><a id="l12671" href="#l12671" class="linenr">12671</a> </div>
+Note the difference between options and variables. You can assign to
+an option "foo", but that does not mean that there exists a variable
+"$foo". Both "received_header_text" and "smtp_banner" are options,
+which each take a string which will be expanded when needed, and that
+string can contain variables. You can not use "$smtp_banner" or
+"$received_header_text" meaningfully in Exim, they'd result in
+expansion failures for being unknown variables.
<div class="pre"><a id="l12672" href="#l12672" class="linenr">12672</a>
.section&nbsp;&quot;Miscellaneous&quot;&nbsp;&quot;SECID96&quot;</div>
<div class="pre"><a id="l12673" href="#l12673" class="linenr">12673</a>
.table2</div>
<div class="pre"><a id="l12674" href="#l12674" class="linenr">12674</a>
.row&nbsp;&amp;%bi_command%&amp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;to&nbsp;run&nbsp;for&nbsp;&amp;%-bi%&amp;&nbsp;command&nbsp;line&nbsp;option&quot;</div>
@@ -36341,4 +36348,4 @@
<a class="rss_logo" title="history of doc/doc-docbook/spec.xfpt Atom feed"
href="/exim.git/atom?f=doc/doc-docbook/spec.xfpt">Atom</a>
</div>
</body>
-</html>
\ No newline at end of file
+</html>


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