diff options
author | Phil Pennock <pdp@exim.org> | 2012-06-02 17:43:19 -0400 |
---|---|---|
committer | Phil Pennock <pdp@exim.org> | 2012-06-02 17:43:19 -0400 |
commit | 79c1c45de15ec0a5a06648faf5f478c351465127 (patch) | |
tree | 968f9d4185d0c36188efbbe40095decff63797d1 /doc | |
parent | 1f6d19d2743e5243b1a71302d8044ea7fa90cf89 (diff) |
Docs: pipes in redirect, need for quote caution
Diffstat (limited to 'doc')
-rw-r--r-- | doc/doc-docbook/spec.xfpt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/doc-docbook/spec.xfpt b/doc/doc-docbook/spec.xfpt index d370cbc3f..3c5f5bd11 100644 --- a/doc/doc-docbook/spec.xfpt +++ b/doc/doc-docbook/spec.xfpt @@ -18417,6 +18417,18 @@ quote just the command. An item such as .endd is interpreted as a pipe with a rather strange command name, and no arguments. +.new +Note that the above example assumes that the text comes from a lookup source +of some sort, so that the quotes are part of the data. If composing a +redirect router with a &%data%& option directly specifying this command, the +quotes will be used by the configuration parser to define the extent of one +string, but will not be passed down into the redirect router itself. There +are two main approaches to get around this: escape quotes to be part of the +data itself, or avoid using this mechanism and instead create a custom +transport with the &%command%& option set and reference that transport from +an &%accept%& router. +.wen + .next .cindex "file" "in redirection list" .cindex "address redirection" "to file" |