Use enum for body data input state-machine
[exim.git] / test / confs / 4560
index 3c31539f52c423374262d029a938676c545d2a0e..d6627bae56d5173e43ee8e6afbe2e1dd8e3f93ab 100644 (file)
@@ -15,6 +15,7 @@ acl_smtp_data = check_data
 
 log_selector = +received_recipients +dkim_verbose
 queue_only
 
 log_selector = +received_recipients +dkim_verbose
 queue_only
+queue_run_in_order
 
 # ----- ACL -----
 begin acl
 
 # ----- ACL -----
 begin acl
@@ -26,8 +27,16 @@ check_data:
   warn logwrite =      arc_state:      <$arc_state>
        logwrite =      domains:        <$arc_domains>
        logwrite =      arc_oldest_pass <$arc_oldest_pass>
   warn logwrite =      arc_state:      <$arc_state>
        logwrite =      domains:        <$arc_domains>
        logwrite =      arc_oldest_pass <$arc_oldest_pass>
-       condition =     ${if def:arc_state_reason}
        logwrite =      reason:         <$arc_state_reason>
        logwrite =      reason:         <$arc_state_reason>
+       logwrite =      lh_A-R:         <$lh_Authentication-Results:>
+       logwrite =      lh-AAR:         <$lh_ARC-Authentication-Results:>
+#      logwrite =      oldest-p-AAR:   <${listextract {$arc_oldest_pass} {$lh_ARC-Authentication-Results:}}>
+       logwrite =      oldest-p-AAR:   <${reduce {$lh_ARC-Authentication-Results:} \
+                                               {} \
+                                               {${if = {$arc_oldest_pass} \
+                                                       {${extract {i}{${extract {1}{;}{$item}}}}} \
+                                                       {$item} {$value}}} \
+                                       }>
 
 .ifdef OPTION
   accept
 
 .ifdef OPTION
   accept
@@ -70,6 +79,7 @@ begin transports
 tfile:
   driver =     appendfile
   file =       DIR/test-mail/$local_part
 tfile:
   driver =     appendfile
   file =       DIR/test-mail/$local_part
+  create_file =        DIR/test-mail
   user =       CALLER
 
 tsmtp:
   user =       CALLER
 
 tsmtp:
@@ -78,8 +88,12 @@ tsmtp:
   port =       PORT_D
   allow_localhost
 .ifndef OPTION
   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
   arc_sign =   $primary_hostname : sel : DIR/aux-fixed/dkim/dkim.private
 .endif
+.endif
 
 tmlist:
   driver =     smtp
 
 tmlist:
   driver =     smtp