Docs: smtp_printf() in the local_scan API
[users/heiko/exim.git] / test / confs / 4560
index c986d5f5c306fa60394e19f62a2717f64aece36b..ad634a42efddb8fa30658d8662fb62b0d72b7c72 100644 (file)
@@ -23,9 +23,19 @@ check_data:
   warn !verify =       arc VALUE
        INSERT
 
-  warn logwrite =      arc_state: <$arc_state>
-       condition =     ${if def:arc_state_reason}
-       logwrite =      reason:    <$arc_state_reason>
+  warn logwrite =      arc_state:      <$arc_state>
+       logwrite =      domains:        <$arc_domains>
+       logwrite =      arc_oldest_pass <$arc_oldest_pass>
+       logwrite =      reason:         <$arc_state_reason>
+       logwrite =      lh_A-R:         <$lh_Authentication-Results:>
+       logwrite =      lh-ams:         <$lh_ARC-Authentication-Results:>
+#      logwrite =      oldest-p-ams:   <${listextract {$arc_oldest_pass} {$lh_ARC-Authentication-Results:}}>
+       logwrite =      oldest-p-ams:   <${reduce {$lh_ARC-Authentication-Results:} \
+                                               {} \
+                                               {${if = {$arc_oldest_pass} \
+                                                       {${extract {i}{${extract {1}{;}{$item}}}}} \
+                                                       {$item} {$value}}} \
+                                       }>
 
 .ifdef OPTION
   accept
@@ -76,8 +86,12 @@ tsmtp:
   port =       PORT_D
   allow_localhost
 .ifndef OPTION
+.ifdef BAD
+  arc_sign =   $primary_hostname : sel : MISSING_KEY
+.else
   arc_sign =   $primary_hostname : sel : DIR/aux-fixed/dkim/dkim.private
 .endif
+.endif
 
 tmlist:
   driver =     smtp