Support moving messages across named queues. Bug 2456
[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 exim -bs
78 MAIL FROM:<CALLER@myhost.test.ex>
79 RCPT TO: <normal@test.ex>
80 DATA
81 Subject: test
82
83 foo
84 .
85 RSET
86 MAIL FROM:<CALLER@myhost.test.ex>
87 RCPT TO: <alternate@test.ex>
88 DATA
89 Subject: test
90
91 foo
92 .
93 QUIT
94 ****
95 exim -bp
96 ****
97 exim -bp -qGalternate
98 ****
99 #
100 exim -MG third $msg1
101 ****
102 exim -qGalternate -MG third $msg1
103 ****
104 exim -bp -qGthird
105 ****
106 exim -qGthird -MG '' $msg1 $msg2
107 ****
108 exim -bp
109 ****
110 exim -bp -qGalternate
111 ****
112 exim -bp -qGthird
113 ****
114 #
115 no_stderr_check