Hintsdb sqlite: use transaction rather than file lock
[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 HELO test
8 MAIL FROM:<CALLER@myhost.test.ex>
9 RCPT TO: <normal@test.ex>
10 DATA
11 Subject: test
12
13 foo
14 .
15 RSET
16 MAIL FROM:<CALLER@myhost.test.ex>
17 RCPT TO: <alternate@test.ex>
18 DATA
19 Subject: test
20
21 foo
22 .
23 QUIT
24 ****
25 #
26 ### default q
27 exim -bp
28 ****
29 ### alternate q
30 exim -bp -qGalternate
31 ****
32 #
33 exim -qq
34 ****
35 #
36 exim -qGnosuchqueue
37 ****
38 #
39 exim -qGalternate
40 ****
41 #
42 #
43 #
44 exim -DSERVER=server -qGlowpri/3s
45 ****
46 sleep 1
47 exim -bs
48 HELO test
49 MAIL FROM:<CALLER@myhost.test.ex>
50 RCPT TO: <lowpri@test.ex>
51 DATA
52 Subject: test 
53
54 foo
55 .
56 QUIT
57 ****
58 sleep 3
59 killdaemon
60 #
61 # third-party queue transfer
62 exim -bs
63 HELO test
64 MAIL FROM:<CALLER@myhost.test.ex>
65 RCPT TO: <alternate@test.ex>
66 DATA
67 Subject: test
68
69 foo
70 .
71 QUIT
72 ****
73
74 sudo mv DIR/spool/alternate/input/* DIR/spool/input/
75 exim -q
76 ****
77 #
78 #
79 # Native queue transfer
80 ### load messages
81 exim -bs
82 HELO test
83 MAIL FROM:<CALLER@myhost.test.ex>
84 RCPT TO: <normal@test.ex>
85 DATA
86 Subject: test
87
88 foo
89 .
90 RSET
91 MAIL FROM:<CALLER@myhost.test.ex>
92 RCPT TO: <alternate@test.ex>
93 DATA
94 Subject: test
95
96 foo
97 .
98 QUIT
99 ****
100 ### default q
101 exim -bp
102 ****
103 ### alternate q
104 exim -bp -qGalternate
105 ****
106 #
107 ### move msg from default to third q
108 exim -MG third $msg1
109 ****
110 ### move msg from alternate q to third q
111 exim -qGalternate -MG third $msg1
112 ****
113 ### third q
114 exim -bp -qGthird
115 ****
116 exim -qGthird -MG '' $msg1 $msg2
117 ****
118 ### default q
119 exim -bp
120 ****
121 ### alternate q
122 exim -bp -qGalternate
123 ****
124 ### third q
125 exim -bp -qGthird
126 ****
127 #
128 # Immediate delivery, via alternate queue
129 exim -odi q_set_by_nonsmtp_acl@test.ex
130 ****
131 #
132 no_stderr_check