Testsuite: use local file handle
[users/jgh/exim.git] / test / scripts / 0000-Basic / 0576
1 # named queues
2 # Exim test configuration 0576
3 #
4 no_msglog_check
5 #
6 exim -bs
7 MAIL FROM:<CALLER@myhost.test.ex>
8 RCPT TO: <normal@test.ex>
9 DATA
10 Subject: test
11
12 foo
13 .
14 RSET
15 MAIL FROM:<CALLER@myhost.test.ex>
16 RCPT TO: <alternate@test.ex>
17 DATA
18 Subject: test
19
20 foo
21 .
22 QUIT
23 ****
24 #
25 ### default q
26 exim -bp
27 ****
28 ### alternate q
29 exim -bp -qGalternate
30 ****
31 #
32 exim -qq
33 ****
34 #
35 exim -qGnosuchqueue
36 ****
37 #
38 exim -qGalternate
39 ****
40 #
41 #
42 #
43 exim -DSERVER=server -qGlowpri/3s
44 ****
45 sleep 1
46 exim -bs
47 MAIL FROM:<CALLER@myhost.test.ex>
48 RCPT TO: <lowpri@test.ex>
49 DATA
50 Subject: test 
51
52 foo
53 .
54 QUIT
55 ****
56 sleep 3
57 killdaemon
58 #
59 # third-party queue transfer
60 exim -bs
61 MAIL FROM:<CALLER@myhost.test.ex>
62 RCPT TO: <alternate@test.ex>
63 DATA
64 Subject: test
65
66 foo
67 .
68 QUIT
69 ****
70
71 sudo mv DIR/spool/alternate/input/* DIR/spool/input/
72 exim -q
73 ****
74 #
75 #
76 # Native queue transfer
77 ### load messages
78 exim -bs
79 MAIL FROM:<CALLER@myhost.test.ex>
80 RCPT TO: <normal@test.ex>
81 DATA
82 Subject: test
83
84 foo
85 .
86 RSET
87 MAIL FROM:<CALLER@myhost.test.ex>
88 RCPT TO: <alternate@test.ex>
89 DATA
90 Subject: test
91
92 foo
93 .
94 QUIT
95 ****
96 ### default q
97 exim -bp
98 ****
99 ### alternate q
100 exim -bp -qGalternate
101 ****
102 #
103 exim -MG third $msg1
104 ****
105 exim -qGalternate -MG third $msg1
106 ****
107 ### third q
108 exim -bp -qGthird
109 ****
110 exim -qGthird -MG '' $msg1 $msg2
111 ****
112 ### default q
113 exim -bp
114 ****
115 ### alternate q
116 exim -bp -qGalternate
117 ****
118 ### third q
119 exim -bp -qGthird
120 ****
121 #
122 no_stderr_check