testcases for value return
[exim.git] / test / stderr / 5204
CommitLineData
54c5ebb1
PH
1LOG: MAIN
2 remote host address is the local host: some.host (while routing <"ACCEPT hosts=localhost lookup=byname"@some.host>)
3Exim version x.yz ....
4configuration file is TESTSUITE/test-config
5admin user
4b424e0d 6dropping to exim gid; retaining priv uid
54c5ebb1
PH
7>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
8routing "DECLINE cannot route this one (DECLINE)"@some.host
9--------> b router <--------
10local_part=decline cannot route this one (decline) domain=some.host
11checking senders
12b router skipped: senders mismatch
13--------> q router <--------
14local_part=DECLINE cannot route this one (DECLINE) domain=some.host
15checking domains
16calling q router
17q router called for "DECLINE cannot route this one (DECLINE)"@some.host: domain = some.host
59e82a2a 18requires uid=EXIM_UID gid=EXIM_GID current_directory=/
54c5ebb1
PH
19command wrote: DECLINE cannot route this one (DECLINE)
20q router declined for "DECLINE cannot route this one (DECLINE)"@some.host
21"more" is false: skipping remaining routers
22no more routers
81022793 23>>>>>>>>>>>>>>>> Exim pid=pppp (fresh-exec) terminating with rc=2 >>>>>>>>>>>>>>>>
54c5ebb1
PH
24Exim version x.yz ....
25configuration file is TESTSUITE/test-config
26admin user
4b424e0d 27dropping to exim gid; retaining priv uid
54c5ebb1
PH
28>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
29routing "FAIL cannot route this one (FAIL)"@some.host
30--------> b router <--------
31local_part=fail cannot route this one (fail) domain=some.host
32checking senders
33b router skipped: senders mismatch
34--------> q router <--------
35local_part=FAIL cannot route this one (FAIL) domain=some.host
36checking domains
37calling q router
38q router called for "FAIL cannot route this one (FAIL)"@some.host: domain = some.host
59e82a2a 39requires uid=EXIM_UID gid=EXIM_GID current_directory=/
54c5ebb1
PH
40command wrote: FAIL cannot route this one (FAIL)
41q router forced address failure
81022793 42>>>>>>>>>>>>>>>> Exim pid=pppp (fresh-exec) terminating with rc=2 >>>>>>>>>>>>>>>>
54c5ebb1
PH
43Exim version x.yz ....
44configuration file is TESTSUITE/test-config
45admin user
4b424e0d 46dropping to exim gid; retaining priv uid
54c5ebb1
PH
47>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
48routing "ERROR cannot route this one (ERROR)"@some.host
49--------> b router <--------
50local_part=error cannot route this one (error) domain=some.host
51checking senders
52b router skipped: senders mismatch
53--------> q router <--------
54local_part=ERROR cannot route this one (ERROR) domain=some.host
55checking domains
56calling q router
57q router called for "ERROR cannot route this one (ERROR)"@some.host: domain = some.host
59e82a2a 58requires uid=EXIM_UID gid=EXIM_GID current_directory=/
54c5ebb1
PH
59command wrote: ERROR cannot route this one (ERROR)
60LOG: PANIC
61 q router: bad command yield: ERROR cannot route this one (ERROR)
62q router: defer for "ERROR cannot route this one (ERROR)"@some.host
63 message: bad command yield: ERROR cannot route this one (ERROR)
81022793 64>>>>>>>>>>>>>>>> Exim pid=pppp (fresh-exec) terminating with rc=1 >>>>>>>>>>>>>>>>
54c5ebb1
PH
65Exim version x.yz ....
66configuration file is TESTSUITE/test-config
67admin user
4b424e0d 68dropping to exim gid; retaining priv uid
54c5ebb1
PH
69>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
70routing "DEFER cannot route this one (DEFER)"@some.host
71--------> b router <--------
72local_part=defer cannot route this one (defer) domain=some.host
73checking senders
74b router skipped: senders mismatch
75--------> q router <--------
76local_part=DEFER cannot route this one (DEFER) domain=some.host
77checking domains
78calling q router
79q router called for "DEFER cannot route this one (DEFER)"@some.host: domain = some.host
59e82a2a 80requires uid=EXIM_UID gid=EXIM_GID current_directory=/
54c5ebb1
PH
81command wrote: DEFER cannot route this one (DEFER)
82q router: defer for "DEFER cannot route this one (DEFER)"@some.host
83 message: cannot route this one (DEFER)
81022793 84>>>>>>>>>>>>>>>> Exim pid=pppp (fresh-exec) terminating with rc=1 >>>>>>>>>>>>>>>>
54c5ebb1
PH
85Exim version x.yz ....
86configuration file is TESTSUITE/test-config
87admin user
4b424e0d 88dropping to exim gid; retaining priv uid
54c5ebb1
PH
89>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
90routing "ACCEPT transport = other_smtp hosts=ten-1.test.ex"@some.host
91--------> b router <--------
92local_part=accept transport = other_smtp hosts=ten-1.test.ex domain=some.host
93checking senders
94b router skipped: senders mismatch
95--------> q router <--------
96local_part=ACCEPT transport = other_smtp hosts=ten-1.test.ex domain=some.host
97checking domains
98calling q router
99q router called for "ACCEPT transport = other_smtp hosts=ten-1.test.ex"@some.host: domain = some.host
59e82a2a 100requires uid=EXIM_UID gid=EXIM_GID current_directory=/
54c5ebb1
PH
101command wrote: ACCEPT transport = other_smtp hosts=ten-1.test.ex
102finding IP address for ten-1.test.ex
103doing DNS lookup
104queued for other_smtp transport: local_part = ACCEPT transport = other_smtp hosts=ten-1.test.ex
105domain = some.host
106 errors_to=NULL
107 domain_data=NULL localpart_data=NULL
108routed by q router
109 envelope to: "ACCEPT transport = other_smtp hosts=ten-1.test.ex"@some.host
110 transport: other_smtp
111 host ten-1.test.ex [V4NET.0.0.1]
81022793 112>>>>>>>>>>>>>>>> Exim pid=pppp (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>
54c5ebb1
PH
113Exim version x.yz ....
114configuration file is TESTSUITE/test-config
115admin user
4b424e0d 116dropping to exim gid; retaining priv uid
54c5ebb1
PH
117>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
118routing PASS@some.host
119--------> b router <--------
120local_part=pass domain=some.host
121checking senders
122b router skipped: senders mismatch
123--------> q router <--------
124local_part=PASS domain=some.host
125checking domains
126calling q router
127q router called for PASS@some.host: domain = some.host
59e82a2a 128requires uid=EXIM_UID gid=EXIM_GID current_directory=/
54c5ebb1
PH
129command wrote: PASS
130q router passed for PASS@some.host
131--------> s router <--------
132local_part=pass domain=some.host
133checking domains
134calling s router
135s router called for PASS@some.host
136 domain = some.host
137route_item = * 127.0.0.1 byname
8b455685
JH
138original list of hosts = '127.0.0.1' options = 'byname'
139expanded list of hosts = '127.0.0.1' options = 'byname'
54c5ebb1
PH
140set transport smtp
141finding IP address for 127.0.0.1
142calling host_find_byname
143remote host address is the local host: some.host: configured to try delivery anyway
144queued for smtp transport: local_part = pass
145domain = some.host
146 errors_to=NULL
147 domain_data=NULL localpart_data=NULL
148routed by s router
149 envelope to: PASS@some.host
150 transport: smtp
151 host 127.0.0.1 [127.0.0.1]
81022793 152>>>>>>>>>>>>>>>> Exim pid=pppp (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>
54c5ebb1
PH
153Exim version x.yz ....
154configuration file is TESTSUITE/test-config
155admin user
4b424e0d 156dropping to exim gid; retaining priv uid
54c5ebb1
PH
157>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
158routing "FREEZE cannot route this one (FREEZE)"@some.host
159--------> b router <--------
160local_part=freeze cannot route this one (freeze) domain=some.host
161checking senders
162b router skipped: senders mismatch
163--------> q router <--------
164local_part=FREEZE cannot route this one (FREEZE) domain=some.host
165checking domains
166calling q router
167q router called for "FREEZE cannot route this one (FREEZE)"@some.host: domain = some.host
59e82a2a 168requires uid=EXIM_UID gid=EXIM_GID current_directory=/
54c5ebb1
PH
169command wrote: FREEZE cannot route this one (FREEZE)
170q router: defer for "FREEZE cannot route this one (FREEZE)"@some.host
171 message: cannot route this one (FREEZE)
81022793 172>>>>>>>>>>>>>>>> Exim pid=pppp (fresh-exec) terminating with rc=1 >>>>>>>>>>>>>>>>
54c5ebb1
PH
173Exim version x.yz ....
174configuration file is TESTSUITE/test-config
175admin user
4b424e0d 176dropping to exim gid; retaining priv uid
54c5ebb1
PH
177>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
178routing "REDIRECT postmaster@test.ex"@some.host
179--------> b router <--------
180local_part=redirect postmaster@test.ex domain=some.host
181checking senders
182b router skipped: senders mismatch
183--------> q router <--------
184local_part=REDIRECT postmaster@test.ex domain=some.host
185checking domains
186calling q router
187q router called for "REDIRECT postmaster@test.ex"@some.host: domain = some.host
59e82a2a 188requires uid=EXIM_UID gid=EXIM_GID current_directory=/
54c5ebb1 189command wrote: REDIRECT postmaster@test.ex
f3ebb786
JH
190rda_interpret (string): 'postmaster@test.ex'
191expanded: 'postmaster@test.ex'
54c5ebb1
PH
192file is not a filter file
193parse_forward_list: postmaster@test.ex
194extract item: postmaster@test.ex
195q router generated postmaster@test.ex
196routed by q router
197 envelope to: "REDIRECT postmaster@test.ex"@some.host
198 transport: <none>
199>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
200routing postmaster@test.ex
201--------> b router <--------
202local_part=postmaster domain=test.ex
203checking senders
204b router skipped: senders mismatch
205--------> q router <--------
206local_part=postmaster domain=test.ex
207checking domains
208q router skipped: domains mismatch
209--------> s router <--------
210local_part=postmaster domain=test.ex
211checking domains
212s router skipped: domains mismatch
213--------> pm router <--------
214local_part=postmaster domain=test.ex
215checking local_parts
216calling pm router
217pm router called for postmaster@test.ex
218 domain = test.ex
219set transport null
220queued for null transport: local_part = postmaster
221domain = test.ex
222 errors_to=NULL
2a53e246 223 domain_data=NULL localpart_data=postmaster
54c5ebb1
PH
224routed by pm router
225 envelope to: postmaster@test.ex
226 transport: null
81022793 227>>>>>>>>>>>>>>>> Exim pid=pppp (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>
59e82a2a
PH
228Exim version x.yz ....
229configuration file is TESTSUITE/test-config
230admin user
231host in hosts_connection_nolog? no (option unset)
232LOG: smtp_connection MAIN
233 SMTP connection from [V4NET.2.3.4]
234host in host_lookup? no (option unset)
235host in host_reject_connection? no (option unset)
236host in sender_unqualified_hosts? no (option unset)
237host in recipient_unqualified_hosts? no (option unset)
238host in helo_verify_hosts? no (option unset)
239host in helo_try_verify_hosts? no (option unset)
240host in helo_accept_junk_hosts? no (option unset)
241some.name in helo_lookup_domains? no (end of list)
50dc7409 242host in dsn_advertise_hosts? no (option unset)
59e82a2a 243host in pipelining_advertise_hosts? yes (matched "*")
aa368db3 244host in chunking_advertise_hosts? no (end of list)
277b9979 245processing "accept" (TESTSUITE/test-config 78)
59e82a2a
PH
246check verify = recipient
247>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
47a8e4e8 248routing "FAIL cannot route this one (FAIL)"@some.host
59e82a2a 249--------> b router <--------
47a8e4e8 250local_part=fail cannot route this one (fail) domain=some.host
59e82a2a
PH
251checking senders
252y in ""? no (end of list)
253x@y in ":"? no (end of list)
254b router skipped: senders mismatch
255--------> q router <--------
47a8e4e8 256local_part=FAIL cannot route this one (FAIL) domain=some.host
59e82a2a
PH
257checking domains
258some.host in "test.ex"? no (end of list)
259some.host in "! +local_domains"? yes (end of list)
260calling q router
47a8e4e8 261q router called for "FAIL cannot route this one (FAIL)"@some.host: domain = some.host
59e82a2a
PH
262requires uid=CALLER_UID gid=CALLER_GID current_directory=/
263not running as root: cannot change uid/gid
264subprocess will run with uid=EXIM_UID gid=EXIM_GID
47a8e4e8 265command wrote: FAIL cannot route this one (FAIL)
59e82a2a
PH
266q router forced address failure
267----------- end verify ------------
6968512f 268accept: condition test failed in inline ACL
59e82a2a
PH
269end of inline ACL: implicit DENY
270LOG: MAIN REJECT
47a8e4e8 271 H=(some.name) [V4NET.2.3.4] F=<x@y> rejected RCPT <"FAIL cannot route this one (FAIL)"@some.host>: cannot route this one (FAIL)
59e82a2a
PH
272LOG: smtp_connection MAIN
273 SMTP connection from (some.name) [V4NET.2.3.4] closed by QUIT
81022793 274>>>>>>>>>>>>>>>> Exim pid=pppp (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>