Fix handling of server which follows a RCPT 452 with a 250. Bug 26092
[exim.git] / test / scripts / 0000-Basic / 0576
index 144f02c483b17265c9433c89d0124fcf9dc2b8e8..ddf17f8d9550d9f029948b724bdecfa532629d82 100644 (file)
@@ -22,6 +22,13 @@ foo
 QUIT
 ****
 #
+### default q
+exim -bp
+****
+### alternate q
+exim -bp -qGalternate
+****
+#
 exim -qq
 ****
 #
@@ -46,7 +53,70 @@ foo
 .
 QUIT
 ****
-#
 sleep 3
-#
 killdaemon
+#
+# third-party queue transfer
+exim -bs
+MAIL FROM:<CALLER@myhost.test.ex>
+RCPT TO: <alternate@test.ex>
+DATA
+Subject: test
+
+foo
+.
+QUIT
+****
+# 
+sudo mv DIR/spool/alternate/input/* DIR/spool/input/
+exim -q
+****
+#
+#
+# Native queue transfer
+### load messages
+exim -bs
+MAIL FROM:<CALLER@myhost.test.ex>
+RCPT TO: <normal@test.ex>
+DATA
+Subject: test
+
+foo
+.
+RSET
+MAIL FROM:<CALLER@myhost.test.ex>
+RCPT TO: <alternate@test.ex>
+DATA
+Subject: test
+
+foo
+.
+QUIT
+****
+### default q
+exim -bp
+****
+### alternate q
+exim -bp -qGalternate
+****
+#
+exim -MG third $msg1
+****
+exim -qGalternate -MG third $msg1
+****
+### third q
+exim -bp -qGthird
+****
+exim -qGthird -MG '' $msg1 $msg2
+****
+### default q
+exim -bp
+****
+### alternate q
+exim -bp -qGalternate
+****
+### third q
+exim -bp -qGthird
+****
+#
+no_stderr_check