X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/e2fe20104068e079266859fbe7a95fdab5d3fee2..f0a4098c909b11829a143fb558156c1d7e12c3f9:/doc/doc-docbook/spec.xfpt diff --git a/doc/doc-docbook/spec.xfpt b/doc/doc-docbook/spec.xfpt index 85c6d3b3b..1f5e29511 100644 --- a/doc/doc-docbook/spec.xfpt +++ b/doc/doc-docbook/spec.xfpt @@ -42027,7 +42027,7 @@ option. .endlist -In addition, two ACL conditions are provided: +In addition, two ACL conditions are provided, usable only in a DKIM ACL: .vlist .vitem &%dkim_signers%& @@ -42295,18 +42295,30 @@ encoding operation. If this value is empty the the expansion result will be empty. The third argument should be the recipient domain of the message when it arrived at this system. +All arguments are expanded before use. + +The result of the expansion is the replacement envelope-from (return path) +to be used. .endlist .cindex SRS decoding To decode an address use this expansion condition: .vlist .vitem &*inbound_srs&~{*&<&'local&~part'&>&*}{*&<&'secret'&>&*}*& -The first argument should be the recipient local prt as is was received. +The first argument should be the recipient local part as it was received. The second argument is the site secret. +Both arguments are expanded before use. If the messages is not for an SRS-encoded recipient the condition will -return false. If it is, the condition will return true and the variable +return false. +If it is, the condition will return true and the variable &$srs_recipient$& will be set to the decoded (original) value. + +.new +If the second argument is empty then the condition returns true if +the first argument is in valid SRS formet, else false. +The variable &$srs_recipient$& is not set for this case. +.wen .endlist Example usage: