Expansions: new ${lheader:<name>}. Bug 2272
[exim.git] / doc / doc-txt / experimental-spec.txt
index 84543087028c59659133ab28f8c67da302942b42..15df152676844c9dcd5dece3ea648ec2edd7a997 100644 (file)
@@ -797,7 +797,17 @@ There are three new variables: $arc_state, $arc_state_reason, $arc_domains:
 
   $arc_state           One of pass, fail, none
   $arc_state_reason    (if fail, why)
-  $arc_domains         (if pass) colon-sep list of ARC chain domains
+  $arc_domains         colon-sep list of ARC chain domains, in chain order.
+                       problematic elements may have empty list elements
+  $arc_oldest_pass     lowest passing instance number of chain
+
+Example:
+  logwrite = oldest-p-ams: <${reduce {$lh_ARC-Authentication-Results:} \
+                               {} \
+                               {${if = {$arc_oldest_pass} \
+                                       {${extract {i}{${extract {1}{;}{$item}}}}} \
+                                       {$item} {$value}}} \
+                           }>
 
 Receive log lines for an ARC pass will be tagged "ARC".