New $queue_name variable
[users/jgh/exim.git] / test / confs / 0574
index aa3e93a9e3f7a7837a6c6945b47416a4c60468be..289ed1955a1663d2f88e62df8824dc45725e028b 100644 (file)
@@ -13,33 +13,34 @@ tls_advertise_hosts =
 
 log_selector = +received_recipients +sender_on_delivery
 
-acl_smtp_rcpt = accept queue = \
-       ${if or {{eq {SERVER}{server}}{eq {normal}{$local_part}}} {} {$local_part}}
+acl_smtp_rcpt = rcpt
 queue_only
 queue_run_in_order
 
 #---------------
 
-begin routers
+begin acl
 
-dump:
-  driver = redirect
-  condition = ${if eq {SERVER}{server}{yes}{no}}
-  data = :blackhole:
+rcpt:
+  accept
+    queue = ${if eq {normal}{$local_part} {} {$local_part}}
+    logwrite = using queue '$queue_name'
+
+#---------------
+
+begin routers
 
 all:
-  driver = manualroute
-  route_list = * 127.0.0.1
-  self = send
-  transport = out
+  driver = accept
+  transport = dump
 
 #---------------
 
 begin transports
 
-out:
-  driver = smtp
-  port = PORT_D
+dump:
+  driver = pipe
+  command = true
 
 # End