Testsuite: fix munge for mailq
[exim.git] / test / scripts / 0000-Basic / 0580
1 # callout lazy-close, -bs send
2 need_ipv4
3 #
4 # a recipient verify and continued-delivery
5 # cmdline -bs send
6 server PORT_S
7 220 Welcome
8 EHLO
9 250 Hi
10 MAIL FROM
11 250 OK
12 RCPT TO
13 250 OK
14 DATA
15 354 hit me
16 .
17 250 yeah got that message
18 QUIT
19 221 Bye
20 ****
21 #
22 exim -bs -odi
23 helo test
24 mail from:<userx@ok.example>
25 rcpt to:<usery@test.ex>
26 data
27 Subject: test
28
29 body
30 .
31 quit
32 ****
33 #
34 #
35 # multiple recipients
36 # 1st callout result is cached (above); should not activate LCC
37 server PORT_S 2
38 220 Welcome
39 EHLO
40 250 Hi
41 MAIL FROM
42 250 OK
43 RCPT TO
44 250 OK
45 QUIT
46 221 Bye
47 *eof
48 220 Welcome
49 EHLO
50 250 Hi
51 MAIL FROM
52 250 OK
53 RCPT TO
54 250 OK
55 RCPT TO
56 250 OK
57 DATA
58 354 hit me
59 .
60 250 yeah got that message
61 QUIT
62 221 Bye
63 ****
64 #
65 exim -bs -odi
66 helo test
67 mail from:<userx@ok.example>
68 rcpt to:<usery@test.ex>
69 rcpt to:<usery2@test.ex>
70 data
71 Subject: test
72
73 body
74 .
75 quit
76 ****
77 #
78 #
79 # 2nd callout result is cached (above); should not activate LCC
80 server PORT_S 2
81 220 Welcome
82 EHLO
83 250 Hi
84 MAIL FROM
85 250 OK
86 RCPT TO
87 250 OK
88 QUIT
89 221 Bye
90 *eof
91 220 Welcome
92 EHLO
93 250 Hi
94 MAIL FROM
95 250 OK
96 RCPT TO
97 250 OK
98 RCPT TO
99 250 OK
100 DATA
101 354 hit me
102 .
103 250 yeah got that message
104 QUIT
105 221 Bye
106 ****
107 #
108 exim -bs -odi
109 helo test
110 mail from:<userx@ok.example>
111 rcpt to:<usery3@test.ex>
112 rcpt to:<usery@test.ex>
113 data
114 Subject: test
115
116 body
117 .
118 quit
119 ****
120 #
121 #
122 # no cache hits; should do LCC
123 server PORT_S
124 220 Welcome
125 EHLO
126 250 Hi
127 MAIL FROM
128 250 OK
129 RCPT TO
130 250 OK
131 RCPT TO
132 250 OK
133 DATA
134 354 hit me
135 .
136 250 yeah got that message
137 QUIT
138 221 Bye
139 ****
140 #
141 exim -bs -odi
142 helo test
143 mail from:<userx@ok.example>
144 rcpt to:<usery4@test.ex>
145 rcpt to:<usery5@test.ex>
146 data
147 Subject: test
148
149 body
150 .
151 quit
152 ****
153 #
154 # cmdline -bs send, rmt conn timeout, also local rcpt
155 server PORT_S
156 220 Welcome
157 EHLO
158 250 Hi
159 MAIL FROM
160 250 OK 
161 RCPT TO
162 250 OK
163 DATA
164 354 hit me
165 .
166 250 message accepted
167 QUIT
168 221 bye
169 ****
170 exim -bs -odi
171 helo test
172 mail from:<useri@ok.example>
173 rcpt to:<remote@test.ex>
174 rcpt to:<local@test.ex>
175 data
176 Subject: test
177 .
178 quit
179 ****
180 exim -bp
181 ****
182 #
183 no_msglog_check