testcase
authorJeremy Harris <jgh146exb@wizmail.org>
Sun, 8 May 2016 11:43:06 +0000 (12:43 +0100)
committerJeremy Harris <jgh146exb@wizmail.org>
Sun, 8 May 2016 11:44:11 +0000 (12:44 +0100)
test/confs/0574
test/log/0574
test/scripts/0000-Basic/0574

index aa3e93a9e3f7a7837a6c6945b47416a4c60468be..722988a2979f5bcbd381a81425caaaddb8aa6d36 100644 (file)
@@ -13,8 +13,7 @@ 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 = accept queue = ${if eq {normal}{$local_part} {} {$local_part}}
 queue_only
 queue_run_in_order
 
@@ -22,24 +21,17 @@ queue_run_in_order
 
 begin routers
 
-dump:
-  driver = redirect
-  condition = ${if eq {SERVER}{server}{yes}{no}}
-  data = :blackhole:
-
 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
 
index 206a95f38a9e93aa093e56e60891ea372d2a07aa..70b22192a3e5c41872dc0f79274a4007bd61a223 100644 (file)
@@ -1,17 +1,12 @@
 1999-03-02 09:44:33 10HmaX-0005vi-00 <= CALLER@the.local.host.name U=CALLER P=local-smtp S=sss for normal@test.ex
 1999-03-02 09:44:33 10HmaY-0005vi-00 <= CALLER@the.local.host.name U=CALLER P=local-smtp S=sss Q=alternate for alternate@test.ex
 1999-03-02 09:44:33 Start queue run: pid=pppp -qq
-1999-03-02 09:44:33 10HmaX-0005vi-00 => normal@test.ex F=<CALLER@the.local.host.name> R=all T=out H=127.0.0.1 [127.0.0.1] C="250 OK id=10HmaZ-0005vi-00"
+1999-03-02 09:44:33 10HmaX-0005vi-00 => normal <normal@test.ex> F=<CALLER@the.local.host.name> R=all T=dump
 1999-03-02 09:44:33 10HmaX-0005vi-00 Completed
 1999-03-02 09:44:33 End queue run: pid=pppp -qq
 1999-03-02 09:44:33 Start 'nosuchqueue' queue run: pid=pppp
 1999-03-02 09:44:33 End 'nosuchqueue' queue run: pid=pppp
 1999-03-02 09:44:33 Start 'alternate' queue run: pid=pppp
-1999-03-02 09:44:33 10HmaY-0005vi-00 => alternate@test.ex F=<CALLER@the.local.host.name> Q=alternate R=all T=out H=127.0.0.1 [127.0.0.1] C="250 OK id=10HmbA-0005vi-00"
+1999-03-02 09:44:33 10HmaY-0005vi-00 => alternate <alternate@test.ex> F=<CALLER@the.local.host.name> Q=alternate R=all T=dump
 1999-03-02 09:44:33 10HmaY-0005vi-00 Completed
 1999-03-02 09:44:33 End 'alternate' queue run: pid=pppp
-
-******** SERVER ********
-1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port 1225
-1999-03-02 09:44:33 10HmaZ-0005vi-00 <= CALLER@the.local.host.name H=localhost (the.local.host.name) [127.0.0.1] P=esmtp S=sss id=E10HmaX-0005vi-00@the.local.host.name for normal@test.ex
-1999-03-02 09:44:33 10HmbA-0005vi-00 <= CALLER@the.local.host.name H=localhost (the.local.host.name) [127.0.0.1] P=esmtp S=sss id=E10HmaY-0005vi-00@the.local.host.name for alternate@test.ex
index 53f7a5da18be1b3d15a5d58d38232fa04dba8be7..162b51f85a751c2a0eceafaec889135e532c79e8 100644 (file)
@@ -1,9 +1,6 @@
 # named queues
 # Exim test configuration 0574
 #
-exim -DSERVER=server -bd -oX PORT_D
-****
-#
 exim  -bs
 MAIL FROM:<CALLER@myhost.test.ex>
 RCPT TO: <normal@test.ex>
@@ -32,5 +29,4 @@ exim -qGnosuchqueue
 exim -qGalternate
 ****
 #
-killdaemon
 no_msglog_check