Lookups: sub-path for dsearch
[exim.git] / test / scripts / 0000-Basic / 0618
index f841177a0415b67b372cd1e64ed82a0037628e54..d43d13ca69e31108c173e10650c92b662796baee 100644 (file)
-# DSN ESMTP extension RCPT options
+# free of local_part_data, domain_data, sender_data
 #
-# Server does not advertise by default
-exim -DSERVER=server -bd -oX PORT_D
-****
-client 127.0.0.1 PORT_D
-??? 220
-EHLO testclient
-??? 250-
-??? 250-SIZE
-??? 250 HELP
-****
-killdaemon
-#
-#
-# Server does advertise when told.  Client requests no bounces, and this one gets a reject.
-exim -DSERVER=server -DOPT=y -bd -oX PORT_D
-****
-exim -z rej/never
-****
-client HOSTIPV4 PORT_D
-??? 220
-EHLO testclient
-??? 250-
-??? 250-SIZE
-??? 250-DSN
-??? 250 HELP
-MAIL FROM:<a@dump.ex>
-??? 250
-RCPT TO:<any@test.ex> NOTIFY=foo
-??? 501
-RCPT TO:<rmt_reject@test.ex> NOTIFY=never
-??? 250
+exim -bh 99.99.99.99
+HELO tester
+MAIL FROM:<a@test.ex>
+RCPT TO:<fred@good1.ex>
 DATA
-??? 354
-Subject: test
 .
-??? 250
-QUIT
-??? 221
-****
-exim -q
-****
-#
-# Client requests delivery notification; the server supports DSN so takes responsibility
-exim -z accept/success
-****
-client HOSTIPV4 PORT_D
-??? 220
-EHLO testclient
-??? 250-
-??? 250-SIZE
-??? 250-DSN
-??? 250 HELP
-MAIL FROM:<b@dump.ex>
-??? 250
-RCPT TO:<rmt_accept@test.ex> NOTIFY=success
-??? 250
+RSET
+MAIL FROM:<b@test.ex>
+RCPT TO:<jim@good2.ex>
 DATA
-??? 354
-Subject: test
 .
-??? 250
 QUIT
-??? 221
-****
-# MSA send msg to MDA
-exim -q
-****
-# deliver msg at MDA
-exim -q
-****
-# deliver notification from MDA
-exim -q
 ****
 #
-# Client requests notification of deferral.  First time of trying, we get
-# a defer but queue-time probably has not hit the 1st retry time yet, so no DSN
-# will be sent and the message remains queued.  Later, after a sleep, we will
-# try again.
-exim -z defer/delay
+#
+exim -bd -DSERVER=server -oX PORT_D
 ****
-client HOSTIPV4 PORT_D
+client 127.0.0.1 PORT_D
 ??? 220
-EHLO testclient
-??? 250-
-??? 250-SIZE
-??? 250-DSN
-??? 250 HELP
-MAIL FROM:<c@dump.ex>
+HELO tester
 ??? 250
-RCPT TO:<rmt_defer@test.ex> NOTIFY=delay
+MAIL FROM:<a@test.ex>
+??? 250
+RCPT TO:<fred@good1.ex>
 ??? 250
 DATA
 ??? 354
-Subject: test
 .
 ??? 250
-QUIT
-??? 221
-****
-exim -q
-****
-#
-# Clients requests no DSNs, and this one gets deferred
-exim -z defer/never
-****
-client HOSTIPV4 PORT_D
-??? 220
-EHLO testclient
-??? 250-
-??? 250-SIZE
-??? 250-DSN
-??? 250 HELP
-MAIL FROM:<d@dump.ex>
+RSET
+??? 250
+MAIL FROM:<b@test.ex>
 ??? 250
-RCPT TO:<rmt_defer@test.ex> NOTIFY=never
+RCPT TO:<jim@good2.ex>
 ??? 250
 DATA
 ??? 354
-Subject: test
 .
 ??? 250
 QUIT
-??? 221
 ****
-exim -q
-****
-sleep 3
-#
+killdaemon
 #
 #
-# Second time, for the queued deferrals.
-# We should see the notify for c@dump.ex but not d@dump.ex
-exim -z playout
-****
-exim -q
+exim -bs
+HELO tester
+MAIL FROM:<a@test.ex>
+RCPT TO:<fred@good1.ex>
+DATA
+.
+QUIT
 ****
-killdaemon
 #
 #
 no_msglog_check