Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: dev

[Bug 1296] Are there missing items in section 11.9, Expansion variables?

 

 

exim dev RSS feed   Index | Next | Previous | View Threaded


regid23 at mail

Sep 16, 2012, 3:07 PM

Post #1 of 4 (192 views)
Permalink
[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

regid23 [at] mail changed:

What |Removed |Added
----------------------------------------------------------------------------
Summary|Shouldn't |Are there missing items in
|$received_header_text be |section 11.9, Expansion
|listed in section 11.9 |variables?
|Expansion variables? |




--- Comment #1 from regid23 [at] mail 2012-09-16 23:07:04 ---
$smtp_banner has a similar issue. It is not mentioned in 11.9, Expansion
variables. According to 14.23, Alphabetical list of main options, it
is expanded every time it is used.


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

--
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##


pdp at exim

Sep 16, 2012, 9:15 PM

Post #2 of 4 (186 views)
Permalink
[Bug 1296] Are there missing items in section 11.9, Expansion variables? [In reply to]

------- You are receiving this mail because: -------
You are on the CC list for the bug.

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

Phil Pennock <pdp [at] exim> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |pdp [at] exim
Status|NEW |RESOLVED
Resolution| |INVALID




--- Comment #2 from Phil Pennock <pdp [at] exim> 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

--
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##


regid23 at mail

Sep 17, 2012, 3:13 AM

Post #3 of 4 (185 views)
Permalink
[Bug 1296] Are there missing items in section 11.9, Expansion variables? [In reply to]

------- 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 [at] mail 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 [at] exim> changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> CC| |pdp [at] exim
> Status|NEW |RESOLVED
> Resolution| |INVALID
>
>
>
>
> --- Comment #2 from Phil Pennock <pdp [at] exim> 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

--
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##


tlyons at ivenue

Sep 17, 2012, 6:28 AM

Post #4 of 4 (185 views)
Permalink
[Bug 1296] Are there missing items in section 11.9, Expansion variables? [In reply to]

------- You are receiving this mail because: -------
You are on the CC list for the bug.

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

Todd Lyons <tlyons [at] ivenue> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |tlyons [at] ivenue




--- Comment #4 from Todd Lyons <tlyons [at] ivenue> 2012-09-17 14:28:17 ---
I don't think the extra is necessary as it is presented. That section is
labelled and described as a configuration section, not variables which get
expanded. And the expansion variables section is also clearly labelled,
however not quite as well described. Narrowing the scope, I think a better
explanation of what "is expanded" means might be in order here though. I won't
change anything yet. I do recall my early confusion between what was a
variable or status, what was a configuration setting, and what was a function
(all in ACLs), so to make this easier to grok for new users is something I
would like.


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

--
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##

exim dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.