Fix exit on attempt to rewrite a malformed address. Bug 2903
[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 exim -MG third $msg1
108 ****
109 exim -qGalternate -MG third $msg1
110 ****
111 ### third q
112 exim -bp -qGthird
113 ****
114 exim -qGthird -MG '' $msg1 $msg2
115 ****
116 ### default q
117 exim -bp
118 ****
119 ### alternate q
120 exim -bp -qGalternate
121 ****
122 ### third q
123 exim -bp -qGthird
124 ****
125 #
126 # Immediate delivery, via alternate queue
127 exim -odi q_set_by_nonsmtp_acl@test.ex
128 ****
129 #
130 no_stderr_check