Magnus' patch for $sending_ip_address and $sending_port.
[exim.git] / test / stderr / 0002
CommitLineData
54c5ebb1
PH
1Exim version x.yz ....
2configuration file is TESTSUITE/test-config
3admin user
4expanding: primary_hostname: $primary_hostname
5 result: primary_hostname: myhost.test.ex
6expanding: abcd
7 result: abcd
8expanding: \N^([ab]+)(\w+)$\N
9 result: ^([ab]+)(\w+)$
10condition: match{abcd}{\N^([ab]+)(\w+)$\N}
11 result: true
12expanding: $2$1
13 result: cdab
14expanding: match: ${if match{abcd}{\N^([ab]+)(\w+)$\N}{$2$1}fail}
15 result: match: cdab
16expanding: wxyz
17 result: wxyz
18expanding: \N^([ab]+)(\w+)$\N
19 result: ^([ab]+)(\w+)$
20condition: match{wxyz}{\N^([ab]+)(\w+)$\N}
21 result: false
22expanding: $2$1
23 result:
24skipping: result is not used
25failed to expand: match: ${if match{wxyz}{\N^([ab]+)(\w+)$\N}{$2$1}fail}
26 error message: "if" failed and "fail" requested
27failure was forced
28expanding: 1
29 result: 1
30expanding: 1
31 result: 1
32condition: eq {1}{1}
33 result: true
34expanding: yes
35 result: yes
36expanding: xx
37 result: xx
38skipping: result is not used
39expanding: /non/exist
40 result: /non/exist
41skipping: result is not used
42expanding: ${lookup{xx}lsearch{/non/exist}}
43 result:
44skipping: result is not used
45expanding: ${if eq {1}{1}{yes}{${lookup{xx}lsearch{/non/exist}}}}
46 result: yes
47expanding: a.b.c
48 result: a.b.c
49expanding: a.b.c
50 result: a.b.c
51LOG: MAIN PANIC
52 no @ found in the subject of an address list match: subject="a.b.c" pattern="a.b.c"
53condition: match_address{a.b.c}{a.b.c}
54 result: false
55expanding: yes
56 result: yes
57skipping: result is not used
58expanding: no
59 result: no
60expanding: match_address: ${if match_address{a.b.c}{a.b.c}{yes}{no}}
61 result: match_address: no
62>>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
63Exim version x.yz ....
64configuration file is TESTSUITE/test-config
65admin user
66expanding: -oMa sender_host_address = $sender_host_address
67 result: -oMa sender_host_address = V4NET.0.0.1
68expanding: sender_host_port = $sender_host_port
69 result: sender_host_port = 1234
70expanding: -oMaa sender_host_authenticated = $sender_host_authenticated
71 result: -oMaa sender_host_authenticated = AAA
72expanding: -oMai authenticated_id = $authenticated_id
73 result: -oMai authenticated_id = philip
74expanding: -oMas authenticated_sender = $authenticated_sender
75 result: -oMas authenticated_sender = xx@yy.zz
76expanding: -oMi interface_address = $interface_address
77 result: -oMi interface_address = 1.1.1.1
78expanding: interface_port = $interface_port
79 result: interface_port = 99
80expanding: -oMr received_protocol = $received_protocol
81 result: -oMr received_protocol = special
82expanding: -oMt sender_ident = $sender_ident
83 result: -oMt sender_ident = me
84>>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
851999-03-02 09:44:33 no host name found for IP address V4NET.11.12.13
86Exim version x.yz ....
87configuration file is TESTSUITE/test-config
88admin user
89expanding: -oMa sender_host_address = $sender_host_address
90 result: -oMa sender_host_address = V4NET.0.0.1
91expanding: sender_host_port = $sender_host_port
92 result: sender_host_port = 1234
93expanding: -oMaa sender_host_authenticated = $sender_host_authenticated
94 result: -oMaa sender_host_authenticated = AAA
95expanding: -oMai authenticated_id = $authenticated_id
96 result: -oMai authenticated_id = philip
97expanding: -oMas authenticated_sender = $authenticated_sender
98 result: -oMas authenticated_sender = xx@yy.zz
99expanding: -oMi interface_address = $interface_address
100 result: -oMi interface_address = 1.1.1.1
101expanding: interface_port = $interface_port
102 result: interface_port = 99
103expanding: -oMr received_protocol = $received_protocol
104 result: -oMr received_protocol = special
105expanding: black
106 result: black
107expanding: white
108 result: white
109condition: eq{black}{white}
110 result: false
111expanding: $sender_host_name
112 result:
113skipping: result is not used
114expanding: No
115 result: No
116expanding: ----> No lookup yet: ${if eq{black}{white}{$sender_host_name}{No}}
117 result: ----> No lookup yet: No
118looking up host name for V4NET.0.0.1
119IP address lookup yielded ten-1.test.ex
120using host_fake_gethostbyname for ten-1.test.ex (IPv4)
121MUNGED: ::1 will be omitted in what follows
122get[host|ipnode]byname[2] looked up these IP addresses:
123 name=ten-1.test.ex address=V4NET.0.0.1
124checking addresses for ten-1.test.ex
125 V4NET.0.0.1 OK
126sender_fullhost = ten-1.test.ex [V4NET.0.0.1]
127sender_rcvhost = ten-1.test.ex ([V4NET.0.0.1] ident=me)
128expanding: -oMs sender_host_name = $sender_host_name
129 result: -oMs sender_host_name = ten-1.test.ex
130expanding: -oMt sender_ident = $sender_ident
131 result: -oMt sender_ident = me
132>>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
133Exim version x.yz ....
134changed uid/gid: forcing real = effective
135 uid=uuuu gid=CALLER_GID pid=pppp
136configuration file is TESTSUITE/test-config
137admin user
138changed uid/gid: privilege not needed
139 uid=EXIM_UID gid=EXIM_GID pid=pppp
140originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
141sender address = CALLER@myhost.test.ex
142sender_fullhost = [V4NET.0.0.1]
143sender_rcvhost = [V4NET.0.0.1]
144host in hosts_connection_nolog? no (option unset)
145LOG: smtp_connection MAIN
146 SMTP connection from [V4NET.0.0.1]
147host in host_lookup? no (option unset)
148set_process_info: pppp handling incoming connection from [V4NET.0.0.1]
149host in host_reject_connection? no (option unset)
150host in sender_unqualified_hosts? no (option unset)
151host in recipient_unqualified_hosts? no (option unset)
152host in helo_verify_hosts? no (option unset)
153host in helo_try_verify_hosts? no (option unset)
154host in helo_accept_junk_hosts? no (option unset)
155using ACL "connect1"
156processing "deny"
157check hosts = partial-lsearch;TESTSUITE/aux-fixed/0002.lsearch
158sender host name required, to match against partial-lsearch;TESTSUITE/aux-fixed/0002.lsearch
159looking up host name for V4NET.0.0.1
160DNS lookup of 1.0.0.V4NET.in-addr.arpa (PTR) using fakens
161DNS lookup of 1.0.0.V4NET.in-addr.arpa (PTR) succeeded
162IP address lookup yielded ten-1.test.ex
163using host_fake_gethostbyname for ten-1.test.ex (IPv4)
164DNS lookup of ten-1.test.ex (A) using fakens
165DNS lookup of ten-1.test.ex (A) succeeded
166MUNGED: ::1 will be omitted in what follows
167get[host|ipnode]byname[2] looked up these IP addresses:
168 name=ten-1.test.ex address=V4NET.0.0.1
169checking addresses for ten-1.test.ex
170 V4NET.0.0.1 OK
171sender_fullhost = ten-1.test.ex [V4NET.0.0.1]
172sender_rcvhost = ten-1.test.ex ([V4NET.0.0.1])
173search_open: lsearch "TESTSUITE/aux-fixed/0002.lsearch"
174search_find: file="TESTSUITE/aux-fixed/0002.lsearch"
175 key="ten-1.test.ex" partial=2 affix=*. starflags=0
176LRU list:
177 :TESTSUITE/aux-fixed/0002.lsearch
178 End
179internal_search_find: file="TESTSUITE/aux-fixed/0002.lsearch"
180 type=lsearch key="ten-1.test.ex"
181file lookup required for ten-1.test.ex
182 in TESTSUITE/aux-fixed/0002.lsearch
183lookup yielded:
184host in "partial-lsearch;TESTSUITE/aux-fixed/0002.lsearch"? yes (matched "partial-lsearch;TESTSUITE/aux-fixed/0002.lsearch")
185deny: condition test succeeded
898d150f 186SMTP>> 550 Administrative prohibition
54c5ebb1
PH
187LOG: MAIN REJECT
188 H=ten-1.test.ex [V4NET.0.0.1] rejected connection in "connect" ACL
189search_tidyup called
190>>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
191Exim version x.yz ....
192changed uid/gid: forcing real = effective
193 uid=uuuu gid=CALLER_GID pid=pppp
194configuration file is TESTSUITE/test-config
195admin user
196changed uid/gid: privilege not needed
197 uid=EXIM_UID gid=EXIM_GID pid=pppp
198originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
199sender address = CALLER@myhost.test.ex
200sender_fullhost = [V4NET.0.0.2]
201sender_rcvhost = [V4NET.0.0.2]
202host in hosts_connection_nolog? no (option unset)
203LOG: smtp_connection MAIN
204 SMTP connection from [V4NET.0.0.2]
205host in host_lookup? no (option unset)
206set_process_info: pppp handling incoming connection from [V4NET.0.0.2]
207host in host_reject_connection? no (option unset)
208host in sender_unqualified_hosts? no (option unset)
209host in recipient_unqualified_hosts? no (option unset)
210host in helo_verify_hosts? no (option unset)
211host in helo_try_verify_hosts? no (option unset)
212host in helo_accept_junk_hosts? no (option unset)
213using ACL "connect2"
214processing "deny"
215check hosts = net-lsearch;TESTSUITE/aux-fixed/0002.lsearch
216search_open: lsearch "TESTSUITE/aux-fixed/0002.lsearch"
217search_find: file="TESTSUITE/aux-fixed/0002.lsearch"
218 key="V4NET.0.0.2" partial=-1 affix=NULL starflags=0
219LRU list:
220 :TESTSUITE/aux-fixed/0002.lsearch
221 End
222internal_search_find: file="TESTSUITE/aux-fixed/0002.lsearch"
223 type=lsearch key="V4NET.0.0.2"
224file lookup required for V4NET.0.0.2
225 in TESTSUITE/aux-fixed/0002.lsearch
226lookup failed
227host in "net-lsearch;TESTSUITE/aux-fixed/0002.lsearch"? no (end of list)
228deny: condition test failed
229end of ACL "connect2": implicit DENY
898d150f 230SMTP>> 550 Administrative prohibition
54c5ebb1
PH
231LOG: MAIN REJECT
232 H=[V4NET.0.0.2] rejected connection in "connect" ACL
233search_tidyup called
234>>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
235>>> host in hosts_connection_nolog? no (option unset)
236>>> host in host_lookup? no (option unset)
237>>> host in host_reject_connection? no (option unset)
238>>> host in sender_unqualified_hosts? no (option unset)
239>>> host in recipient_unqualified_hosts? no (option unset)
240>>> host in helo_verify_hosts? no (option unset)
241>>> host in helo_try_verify_hosts? no (option unset)
242>>> host in helo_accept_junk_hosts? no (option unset)
243>>> using ACL "connect0"
244>>> processing "accept"
245>>> accept: condition test succeeded
246>>> processing "accept"
247>>> accept: condition test succeeded
248>>> using ACL "check_data"
249>>> processing "warn"
250>>> check logwrite = Subject is: "$h_subject:"
251>>> = Subject is: ""
252LOG: 10HmaX-0005vi-00 Subject is: ""
253>>> warn: condition test succeeded
254>>> processing "deny"
255>>> deny: condition test succeeded
256LOG: 10HmaX-0005vi-00 H=[V4NET.0.0.0] F=<> rejected after DATA: reply_address=<>
257>>> processing "accept"
258>>> accept: condition test succeeded
259>>> host in ignore_fromline_hosts? no (option unset)
260>>> using ACL "check_data"
261>>> processing "warn"
262>>> check logwrite = Subject is: "$h_subject:"
263>>> = Subject is: ""
264LOG: 10HmaY-0005vi-00 Subject is: ""
265>>> warn: condition test succeeded
266>>> processing "deny"
267>>> deny: condition test succeeded
268LOG: 10HmaY-0005vi-00 H=[V4NET.0.0.0] F=<> rejected after DATA: reply_address=<a@b>
269>>> processing "accept"
270>>> accept: condition test succeeded
271>>> host in ignore_fromline_hosts? no (option unset)
272>>> using ACL "check_data"
273>>> processing "warn"
274>>> check logwrite = Subject is: "$h_subject:"
275>>> = Subject is: ""
276LOG: 10HmaZ-0005vi-00 Subject is: ""
277>>> warn: condition test succeeded
278>>> processing "deny"
279>>> deny: condition test succeeded
280LOG: 10HmaZ-0005vi-00 H=[V4NET.0.0.0] F=<> rejected after DATA: reply_address=<c@d>
281>>> processing "accept"
282>>> accept: condition test succeeded
283>>> host in ignore_fromline_hosts? no (option unset)
284>>> using ACL "check_data"
285>>> processing "warn"
286>>> check logwrite = Subject is: "$h_subject:"
287>>> = Subject is: ""
288LOG: 10HmbA-0005vi-00 Subject is: ""
289>>> warn: condition test succeeded
290>>> processing "deny"
291>>> deny: condition test succeeded
292LOG: 10HmbA-0005vi-00 H=[V4NET.0.0.0] F=<> rejected after DATA: reply_address=<>
293>>> processing "accept"
294>>> accept: condition test succeeded
295>>> host in ignore_fromline_hosts? no (option unset)
296>>> using ACL "check_data"
297>>> processing "warn"
298>>> check logwrite = Subject is: "$h_subject:"
299>>> = Subject is: ""
300LOG: 10HmbB-0005vi-00 Subject is: ""
301>>> warn: condition test succeeded
302>>> processing "deny"
303>>> deny: condition test succeeded
304LOG: 10HmbB-0005vi-00 H=[V4NET.0.0.0] F=<> rejected after DATA: reply_address=<x@y>
305>>> host in hosts_connection_nolog? no (option unset)
306>>> host in host_lookup? no (option unset)
307>>> host in host_reject_connection? no (option unset)
308>>> host in sender_unqualified_hosts? no (option unset)
309>>> host in recipient_unqualified_hosts? no (option unset)
310>>> host in helo_verify_hosts? no (option unset)
311>>> host in helo_try_verify_hosts? no (option unset)
312>>> host in helo_accept_junk_hosts? no (option unset)
313>>> using ACL "connect0"
314>>> processing "accept"
315>>> accept: condition test succeeded
316>>> processing "accept"
317>>> accept: condition test succeeded
318>>> host in ignore_fromline_hosts? no (option unset)
319>>> using ACL "check_data"
320>>> processing "warn"
321>>> check logwrite = Subject is: "$h_subject:"
322>>> = Subject is: "=?iso-8859-8?Q?_here_we_go=3A_a_string_that_is_going_to_be_encoded=3A_it_will_go_over_the_75-char_limit_by_a_long_way=3B_in_fact_this_one_will_go_over_the_150_character_limit?="
323LOG: 10HmbC-0005vi-00 Subject is: "=?iso-8859-8?Q?_here_we_go=3A_a_string_that_is_going_to_be_encoded=3A_it_will_go_over_the_75-char_limit_by_a_long_way=3B_in_fact_this_one_will_go_over_the_150_character_limit?="
324>>> warn: condition test succeeded
325>>> processing "deny"
326>>> deny: condition test succeeded
327LOG: 10HmbC-0005vi-00 H=[V4NET.0.0.0] F=<> rejected after DATA: reply_address=<>
328>>> host in hosts_connection_nolog? no (option unset)
329>>> host in host_lookup? no (option unset)
330>>> host in host_reject_connection? no (option unset)
331>>> host in sender_unqualified_hosts? no (option unset)
332>>> host in recipient_unqualified_hosts? no (option unset)
333>>> host in helo_verify_hosts? no (option unset)
334>>> host in helo_try_verify_hosts? no (option unset)
335>>> host in helo_accept_junk_hosts? no (option unset)
336>>> using ACL "connect0"
337>>> processing "accept"
338>>> accept: condition test succeeded
339>>> processing "accept"
340>>> accept: condition test succeeded
341>>> host in ignore_fromline_hosts? no (option unset)
342>>> using ACL "check_data"
343>>> processing "warn"
344>>> check logwrite = Subject is: "$h_subject:"
345>>> = Subject is: " here we go: a string that is going to be encoded: it will go over the 75-char limit by a long way; in fact this one will go over the 150 character limit"
346LOG: 10HmbD-0005vi-00 Subject is: " here we go: a string that is going to be encoded: it will go over the 75-char limit by a long way; in fact this one will go over the 150 character limit"
347>>> warn: condition test succeeded
348>>> processing "deny"
349>>> deny: condition test succeeded
350LOG: 10HmbD-0005vi-00 H=[V4NET.0.0.0] F=<> rejected after DATA: reply_address=<>
1688f43b
PH
351Exim version x.yz ....
352changed uid/gid: -C, -D, -be or -bf forces real uid
353 uid=CALLER_UID gid=CALLER_GID pid=pppp
354configuration file is TESTSUITE/test-config
355admin user
356originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
357sender address = CALLER@myhost.test.ex
3581.2.3.4 in "1.2.3"? no (malformed IPv4 address or address mask)
3591.2.3.4 in "1.2.3.4/abc"? no (malformed IPv4 address or address mask)
360search_tidyup called
361>>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>