[exim-dev] [Bug 2028] verify sender= and addr with / in loca…

Etusivu
Poista viesti
Vastaa
Lähettäjä: admin
Päiväys:  
Vastaanottaja: exim-dev
Vanhat otsikot: [exim-dev] [Bug 2028] New: verify sender= unknown option in ACL condition
Aihe: [exim-dev] [Bug 2028] verify sender= and addr with / in localpart: unknown option in ACL condition
https://bugs.exim.org/show_bug.cgi?id=2028

Git Commit <git@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |git@???


--- Comment #2 from Git Commit <git@???> ---
Git commit:
https://git.exim.org/exim.git/commitdiff/cf68f1fbdbb5eefd87647fb8be0ee74568f8556d

commit cf68f1fbdbb5eefd87647fb8be0ee74568f8556d
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Sun Jan 29 15:30:28 2017 +0000
Commit:     Jeremy Harris <jgh146exb@???>
CommitDate: Sun Jan 29 15:30:28 2017 +0000


    Docs: add note on verify = senders= .  Bug 2028
---
 doc/doc-docbook/spec.xfpt | 9 +++++++++
 1 file changed, 9 insertions(+)


diff --git a/doc/doc-docbook/spec.xfpt b/doc/doc-docbook/spec.xfpt
index 1bc2028..6480789 100644
--- a/doc/doc-docbook/spec.xfpt
+++ b/doc/doc-docbook/spec.xfpt
@@ -29785,6 +29785,15 @@ to avoid doing it more than once per message.
.cindex "&%verify%& ACL condition"
This is a variation of the previous option, in which a modified address is
verified as a sender.
+
+.new
+Note that '/' is legal in local-parts; if the address may have such
+(eg. is generated from the received message)
+they must be protected from the options parsing by doubling:
+.code
+verify = sender=${sg{${address:$h_sender:}}{/}{//}}
+.endd
+.wen
.endlist

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