Expansions: new ${lheader:<name>}. Bug 2272
[users/jgh/exim.git] / test / confs / 4560
index 1012a38970af15b9575414b5783f52a6dde923b7..e2095af4cd2e4158e364799f0a6ae52cf9c140b5 100644 (file)
@@ -1,6 +1,8 @@
 # Exim test configuration 4560
 
 SERVER=
+VALUE=
+INSERT=
 
 .include DIR/aux-var/std_conf_prefix
 
@@ -18,7 +20,23 @@ queue_only
 begin acl
 
 check_data:
-  warn !verify =       arc
+  warn !verify =       arc VALUE
+       INSERT
+
+  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
 .else
@@ -64,7 +82,7 @@ tfile:
 
 tsmtp:
   driver =     smtp
-  hosts =      HOSTIPV4
+  hosts =      127.0.0.1
   port =       PORT_D
   allow_localhost
 .ifndef OPTION
@@ -73,7 +91,7 @@ tsmtp:
 
 tmlist:
   driver =     smtp
-  hosts =      HOSTIPV4
+  hosts =      127.0.0.1
   port =       PORT_D
   allow_localhost
   transport_filter =   /bin/cat - DIR/aux-fixed/TESTNUM.mlistfooter