From 80bbefb8dbd9a7fc548d9beeb8d9f236c00a51a0 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sat, 15 Oct 2016 18:56:16 +0100 Subject: Testsuite: for queuefile transport, avoid using named-queues as part of test Also avoid using aux-var as a testing temporary area --- test/confs/5902 | 30 +++++++----------------------- 1 file changed, 7 insertions(+), 23 deletions(-) (limited to 'test/confs/5902') diff --git a/test/confs/5902 b/test/confs/5902 index e7dad63a7..ba4acc29f 100644 --- a/test/confs/5902 +++ b/test/confs/5902 @@ -1,35 +1,26 @@ # Exim test configuration 5902 +OPT= + .include DIR/aux-var/std_conf_prefix # ----- Main settings ----- qualify_domain = test.ex -acl_smtp_rcpt = rcpt - -# ----- ACLs ----- - -begin acl - -rcpt: - accept - queue = ${if eq {normal}{$local_part} {} {$local_part}} - logwrite = using queue '$queue_name' # ----- Routers ----- begin routers -local: - driver = accept - transport = local_delivery - condition = ${if eq {}{$queue_name} {1}{0}} - scan: driver = accept + condition = ${if eq {OPT}{scan} {y}} transport = scan +local: + driver = accept + transport = local_delivery # ----- Transports ----- @@ -37,18 +28,11 @@ begin transports scan: driver = queuefile - directory = DIR/aux-fixed/5902/outbound + directory = DIR/scanner local_delivery: driver = appendfile file = DIR/test-mail/$local_part user = CALLER -# ----- Retry ----- - -begin retry - -* * F,10m,2d - - # End -- cgit v1.2.3