Testsuite: Add test for MAIL with spaces + options
[users/jgh/exim.git] / test / stderr / 5402
1 Exim version x.yz ....
2 configuration file is TESTSUITE/test-config
3 admin user
4  in hosts_connection_nolog? no (option unset)
5 LOG: smtp_connection MAIN
6   SMTP connection from CALLER
7 expanding: $smtp_active_hostname ESMTP Exim $version_number $tod_full
8    result: myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
9  in pipelining_advertise_hosts? yes (matched "*")
10  in tls_advertise_hosts? yes (matched "*")
11 expanding: SERVER
12    result: SERVER
13 expanding: server
14    result: server
15 condition: eq {SERVER}{server}
16    result: false
17 expanding: queue
18    result: queue
19 skipping: result is not used
20 expanding: cutthrough
21    result: cutthrough
22 expanding: ${if eq {SERVER}{server}{queue}{cutthrough}}
23    result: cutthrough
24 using ACL "cutthrough"
25 processing "accept"
26 check control = cutthrough_delivery
27 check verify = recipient
28 domain.com in "test.ex : *.test.ex"? no (end of list)
29 domain.com in "! +local_domains"? yes (end of list)
30 expanding: $local_part
31    result: userx
32 domain.com in "*"? yes (matched "*")
33 ----------- end verify ------------
34 accept: condition test succeeded in ACL "cutthrough"
35 ----------- start cutthrough setup ------------
36 domain.com in "test.ex : *.test.ex"? no (end of list)
37 domain.com in "! +local_domains"? yes (end of list)
38 expanding: $local_part
39    result: userx
40 domain.com in "*"? yes (matched "*")
41 Connecting to 127.0.0.1 [127.0.0.1]:1225 from ip4.ip4.ip4.ip4 ... connected
42 expanding: $primary_hostname
43    result: myhost.test.ex
44   SMTP<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
45 127.0.0.1 in hosts_avoid_esmtp? no (option unset)
46   SMTP>> EHLO myhost.test.ex
47   SMTP<< 250-myhost.test.ex Hello the.local.host.name [ip4.ip4.ip4.ip4]
48          250-SIZE 52428800
49          250-8BITMIME
50          250-PIPELINING
51          250-STARTTLS
52          250 HELP
53 expanding: $address_data
54    result: userx
55 expanding: usery
56    result: usery
57 condition: eq {$address_data}{usery}
58    result: false
59 expanding: *
60    result: *
61 skipping: result is not used
62 expanding: :
63    result: :
64 expanding: ${if eq {$address_data}{usery}{*}{:}}
65    result: :
66 127.0.0.1 in hosts_avoid_tls? no (end of list)
67   SMTP>> STARTTLS
68   SMTP<< 220 TLS go ahead
69   SMTP>> EHLO myhost.test.ex
70   SMTP<< 250-myhost.test.ex Hello the.local.host.name [ip4.ip4.ip4.ip4]
71          250-SIZE 52428800
72          250-8BITMIME
73          250-PIPELINING
74          250 HELP
75   SMTP>> MAIL FROM:<CALLER@myhost.test.ex>
76   SMTP<< 250 OK
77   SMTP>> RCPT TO:<userx@domain.com>
78   SMTP<< 250 Accepted
79 ----------- end cutthrough setup ------------
80 processing "accept"
81 accept: condition test succeeded in inline ACL
82   SMTP>> DATA
83   SMTP<< 354 Enter message, ending with "." on a line by itself
84 expanding: ${tod_full}
85    result: Tue, 2 Mar 1999 09:44:33 +0000
86 condition: def:sender_rcvhost
87    result: false
88 expanding: from $sender_rcvhost
89         
90    result: from 
91         
92 skipping: result is not used
93 condition: def:sender_ident
94    result: true
95 expanding: $sender_ident
96    result: CALLER
97 expanding: from ${quote_local_part:$sender_ident} 
98    result: from CALLER 
99 condition: def:sender_helo_name
100    result: true
101 expanding: (helo=$sender_helo_name)
102         
103    result: (helo=myhost.test.ex)
104         
105 expanding: ${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
106         }}
107    result: from CALLER (helo=myhost.test.ex)
108         
109 condition: def:received_protocol
110    result: true
111 expanding: with $received_protocol
112    result: with local-esmtp
113 condition: def:sender_address
114    result: true
115 expanding: (envelope-from <$sender_address>)
116         
117    result: (envelope-from <CALLER@myhost.test.ex>)
118         
119 condition: def:received_for
120    result: true
121 expanding: 
122         for $received_for
123    result: 
124         for userx@domain.com
125 PDKIM <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
126 expanding: ${tod_full}
127    result: Tue, 2 Mar 1999 09:44:33 +0000
128   SMTP>> .
129   SMTP<< 250 OK id=10HmaX-0005vi-00
130 LOG: MAIN
131   >> userx@domain.com R=all T=smtp H=127.0.0.1 [127.0.0.1] X=TLSv1:AES256-SHA:256 C="250 OK id=10HmaX-0005vi-00"
132   SMTP>> QUIT
133 ----------- cutthrough shutdown (delivered) ------------
134 LOG: MAIN
135   <= CALLER@myhost.test.ex U=CALLER P=local-esmtp S=sss
136 LOG: MAIN
137   Completed
138 LOG: smtp_connection MAIN
139   SMTP connection from CALLER closed by QUIT
140 >>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
141 Exim version x.yz ....
142 configuration file is TESTSUITE/test-config
143 admin user
144  in hosts_connection_nolog? no (option unset)
145 LOG: smtp_connection MAIN
146   SMTP connection from CALLER
147 expanding: $smtp_active_hostname ESMTP Exim $version_number $tod_full
148    result: myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
149  in pipelining_advertise_hosts? yes (matched "*")
150  in tls_advertise_hosts? yes (matched "*")
151 expanding: SERVER
152    result: SERVER
153 expanding: server
154    result: server
155 condition: eq {SERVER}{server}
156    result: false
157 expanding: queue
158    result: queue
159 skipping: result is not used
160 expanding: cutthrough
161    result: cutthrough
162 expanding: ${if eq {SERVER}{server}{queue}{cutthrough}}
163    result: cutthrough
164 using ACL "cutthrough"
165 processing "accept"
166 check control = cutthrough_delivery
167 check verify = recipient
168 domain.com in "test.ex : *.test.ex"? no (end of list)
169 domain.com in "! +local_domains"? yes (end of list)
170 expanding: $local_part
171    result: usery
172 domain.com in "*"? yes (matched "*")
173 ----------- end verify ------------
174 accept: condition test succeeded in ACL "cutthrough"
175 ----------- start cutthrough setup ------------
176 domain.com in "test.ex : *.test.ex"? no (end of list)
177 domain.com in "! +local_domains"? yes (end of list)
178 expanding: $local_part
179    result: usery
180 domain.com in "*"? yes (matched "*")
181 Connecting to 127.0.0.1 [127.0.0.1]:1225 from ip4.ip4.ip4.ip4 ... connected
182 expanding: $primary_hostname
183    result: myhost.test.ex
184   SMTP<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
185 127.0.0.1 in hosts_avoid_esmtp? no (option unset)
186   SMTP>> EHLO myhost.test.ex
187   SMTP<< 250-myhost.test.ex Hello the.local.host.name [ip4.ip4.ip4.ip4]
188          250-SIZE 52428800
189          250-8BITMIME
190          250-PIPELINING
191          250-STARTTLS
192          250 HELP
193 expanding: $address_data
194    result: usery
195 expanding: usery
196    result: usery
197 condition: eq {$address_data}{usery}
198    result: true
199 expanding: *
200    result: *
201 expanding: :
202    result: :
203 skipping: result is not used
204 expanding: ${if eq {$address_data}{usery}{*}{:}}
205    result: *
206 127.0.0.1 in hosts_avoid_tls? yes (matched "*")
207   SMTP>> MAIL FROM:<CALLER@myhost.test.ex>
208   SMTP<< 250 OK
209   SMTP>> RCPT TO:<usery@domain.com>
210   SMTP<< 250 Accepted
211 ----------- end cutthrough setup ------------
212 processing "accept"
213 accept: condition test succeeded in inline ACL
214   SMTP>> DATA
215   SMTP<< 354 Enter message, ending with "." on a line by itself
216 expanding: ${tod_full}
217    result: Tue, 2 Mar 1999 09:44:33 +0000
218 condition: def:sender_rcvhost
219    result: false
220 expanding: from $sender_rcvhost
221         
222    result: from 
223         
224 skipping: result is not used
225 condition: def:sender_ident
226    result: true
227 expanding: $sender_ident
228    result: CALLER
229 expanding: from ${quote_local_part:$sender_ident} 
230    result: from CALLER 
231 condition: def:sender_helo_name
232    result: true
233 expanding: (helo=$sender_helo_name)
234         
235    result: (helo=myhost.test.ex)
236         
237 expanding: ${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
238         }}
239    result: from CALLER (helo=myhost.test.ex)
240         
241 condition: def:received_protocol
242    result: true
243 expanding: with $received_protocol
244    result: with local-esmtp
245 condition: def:sender_address
246    result: true
247 expanding: (envelope-from <$sender_address>)
248         
249    result: (envelope-from <CALLER@myhost.test.ex>)
250         
251 condition: def:received_for
252    result: true
253 expanding: 
254         for $received_for
255    result: 
256         for usery@domain.com
257 PDKIM <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
258 expanding: ${tod_full}
259    result: Tue, 2 Mar 1999 09:44:33 +0000
260   SMTP>> .
261   SMTP<< 250 OK id=10HmaZ-0005vi-00
262 LOG: MAIN
263   >> usery@domain.com R=all T=smtp H=127.0.0.1 [127.0.0.1] C="250 OK id=10HmaZ-0005vi-00"
264   SMTP>> QUIT
265 ----------- cutthrough shutdown (delivered) ------------
266 LOG: MAIN
267   <= CALLER@myhost.test.ex U=CALLER P=local-esmtp S=sss
268 LOG: MAIN
269   Completed
270 LOG: smtp_connection MAIN
271   SMTP connection from CALLER closed by QUIT
272 >>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
273
274 ******** SERVER ********