Expansions: new ${lheader:<name>}. Bug 2272
[exim.git] / doc / doc-txt / experimental-spec.txt
index ac3f1cc23f6218c1b7530a663fe3ad5fa1ca0993..15df152676844c9dcd5dece3ea648ec2edd7a997 100644 (file)
@@ -801,6 +801,14 @@ There are three new variables: $arc_state, $arc_state_reason, $arc_domains:
                        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".