Debug: "kill" option on ACL control=debug. Bug 1831
[exim.git] / test / scripts / 0000-Basic / 0495
1 # mua_wrapper
2 need_ipv4
3 #
4 1
5 exim xyz@test.ex
6 This should fail hard (nothing listening)
7 ****
8 server PORT_S
9 220 Server ready
10 EHLO
11 250-server id
12 250-PIPELINING
13 250 OK
14 MAIL FROM
15 250 OK
16 RCPT TO
17 250 OK
18 RCPT TO
19 250 OK
20 DATA
21 354 OK
22 .
23 250 OK
24 ****
25 exim a@x.y b@x.y
26 This should succeed
27 ****
28 server PORT_S
29 220 Server ready
30 EHLO
31 250-server id
32 250-PIPELINING
33 250 OK
34 MAIL FROM
35 250 OK
36 RCPT TO
37 250 OK
38 RCPT TO
39 550 NOTOK
40 QUIT
41 250 OK
42 ****
43 1
44 exim a@x.y b@x.y
45 This should not succeed (one recipient rejected)
46 ****
47 server PORT_S
48 220 Server ready
49 EHLO
50 250-server id
51 250-PIPELINING
52 250 OK
53 MAIL FROM
54 550 BAD MAIL
55 RCPT TO
56 550 NOTOK
57 RCPT TO
58 550 NOTOK
59 QUIT
60 250 OK
61 ****
62 1
63 exim a@x.y b@x.y
64 This should not succeed (mail rejected)
65 ****
66 server PORT_S
67 220 Server ready
68 EHLO
69 250-server id
70 250-PIPELINING
71 250 OK
72 MAIL FROM
73 450 TEMPORARY MAIL FAIL
74 RCPT TO
75 450 NOTOK
76 RCPT TO
77 450 NOTOK
78 QUIT
79 250 OK
80 ****
81 1
82 exim a@x.y b@x.y
83 This should not succeed (mail rejected, even though temporary)
84 ****
85 server PORT_S
86 220 Server ready
87 EHLO
88 250-server id
89 250-PIPELINING
90 250 OK
91 MAIL FROM
92 250 OK
93 RCPT TO
94 250 OK
95 RCPT TO
96 250 OK
97 DATA
98 354 OK
99 .
100 250 OK
101 ****
102 exim postmaster@x.y b@x.y
103 This should succeed (alias to normal address)
104 ****
105 1
106 exim file@x.y b@x.y
107 This should not succeed (alias to local delivery)
108 ****
109 1
110 exim fail@x.y b@x.y
111 This should not succeed (alias to fail)
112 ****
113 1
114 exim a@x.y defer@x.y
115 This should not succeed (alias to defer)
116 ****
117 1
118 exim a@x.y otherhost@x.y
119 This should not succeed (routed to different hosts)
120 ****
121 1
122 exim a@x.y addheader@x.y
123 This should not succeed (different headers add)
124 ****
125 # Should fail - daemon not allowed
126 1
127 exim -bd
128 ****
129 server PORT_S
130 220 Server ready
131 EHLO
132 250-server id
133 250-PIPELINING
134 250 OK
135 MAIL FROM
136 250 OK
137 RCPT TO
138 250 OK
139 RCPT TO
140 250 OK
141 DATA
142 354 OK
143 .
144 250 OK
145 ****
146 exim -bs
147 ehlo a.b
148 mail from:<sen@der>
149 rcpt to:<a@x.y>
150 rcpt to:<b@x.y>
151 data
152 This should succeed.
153 .
154 quit
155 ****
156 1
157 exim -bs
158 ehlo a.b
159 mail from:<sen@der>
160 rcpt to:<a@x.y>
161 rcpt to:<b@x.y>
162 data
163 This should fail - nothing listening
164 .
165 quit
166 ****
167 server PORT_S 2
168 220 Server ready
169 EHLO
170 250-server id
171 250-PIPELINING
172 250 OK
173 MAIL FROM
174 250 OK
175 RCPT TO
176 250 OK
177 RCPT TO
178 *sleep 2
179 >*eof
180 220 Server ready
181 EHLO
182 250-server id
183 250-PIPELINING
184 250 OK
185 MAIL FROM
186 250 OK
187 RCPT TO
188 250 OK
189 RCPT TO
190 *sleep 2
191 ****
192 1
193 exim a@x.y b@x.y
194 This should fail because of timeouts
195 .
196 quit
197 ****
198 1
199 exim badport1@z badport2@z
200 This should fail because of a bad port definition.
201 ****
202 server PORT_S
203 220 Server ready
204 EHLO
205 250-server id
206 250-PIPELINING
207 250 OK
208 MAIL FROM
209 250 OK
210 RCPT TO
211 550 SORRY
212 QUIT
213 221 BYE
214 ****
215 # Test for an empty sender
216 1
217 exim -f '<>' a@x.y
218 This should fail.
219 ****