2 configuration file is TESTSUITE/test-config
4 expanding: primary_hostname: $primary_hostname
5 result: primary_hostname: myhost.test.ex
8 expanding: \N^([ab]+)(\w+)$\N
10 condition: match{abcd}{\N^([ab]+)(\w+)$\N}
14 expanding: match: ${if match{abcd}{\N^([ab]+)(\w+)$\N}{$2$1}fail}
18 expanding: \N^([ab]+)(\w+)$\N
19 result: ^([ab]+)(\w+)$
20 condition: match{wxyz}{\N^([ab]+)(\w+)$\N}
24 skipping: result is not used
25 failed to expand: match: ${if match{wxyz}{\N^([ab]+)(\w+)$\N}{$2$1}fail}
26 error message: "if" failed and "fail" requested
38 skipping: result is not used
41 skipping: result is not used
42 expanding: ${lookup{xx}lsearch{/non/exist}}
44 skipping: result is not used
45 expanding: ${if eq {1}{1}{yes}{${lookup{xx}lsearch{/non/exist}}}}
52 no @ found in the subject of an address list match: subject="a.b.c" pattern="a.b.c"
53 condition: match_address{a.b.c}{a.b.c}
57 skipping: result is not used
60 expanding: 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 >>>>>>>>>>>>>>>>
63 Exim version x.yz ....
64 configuration file is TESTSUITE/test-config
66 expanding: -oMa sender_host_address = $sender_host_address
67 result: -oMa sender_host_address = V4NET.0.0.1
68 expanding: sender_host_port = $sender_host_port
69 result: sender_host_port = 1234
70 expanding: -oMaa sender_host_authenticated = $sender_host_authenticated
71 result: -oMaa sender_host_authenticated = AAA
72 expanding: -oMai authenticated_id = $authenticated_id
73 result: -oMai authenticated_id = philip
74 expanding: -oMas authenticated_sender = $authenticated_sender
75 result: -oMas authenticated_sender = xx@yy.zz
76 expanding: -oMi interface_address = $interface_address
77 result: -oMi interface_address = 1.1.1.1
78 expanding: interface_port = $interface_port
79 result: interface_port = 99
80 expanding: -oMr received_protocol = $received_protocol
81 result: -oMr received_protocol = special
82 expanding: -oMt sender_ident = $sender_ident
83 result: -oMt sender_ident = me
84 >>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
85 1999-03-02 09:44:33 no host name found for IP address V4NET.11.12.13
86 Exim version x.yz ....
87 configuration file is TESTSUITE/test-config
89 expanding: -oMa sender_host_address = $sender_host_address
90 result: -oMa sender_host_address = V4NET.0.0.1
91 expanding: sender_host_port = $sender_host_port
92 result: sender_host_port = 1234
93 expanding: -oMaa sender_host_authenticated = $sender_host_authenticated
94 result: -oMaa sender_host_authenticated = AAA
95 expanding: -oMai authenticated_id = $authenticated_id
96 result: -oMai authenticated_id = philip
97 expanding: -oMas authenticated_sender = $authenticated_sender
98 result: -oMas authenticated_sender = xx@yy.zz
99 expanding: -oMi interface_address = $interface_address
100 result: -oMi interface_address = 1.1.1.1
101 expanding: interface_port = $interface_port
102 result: interface_port = 99
103 expanding: -oMr received_protocol = $received_protocol
104 result: -oMr received_protocol = special
109 condition: eq{black}{white}
111 expanding: $sender_host_name
113 skipping: result is not used
116 expanding: ----> No lookup yet: ${if eq{black}{white}{$sender_host_name}{No}}
117 result: ----> No lookup yet: No
118 looking up host name for V4NET.0.0.1
119 IP address lookup yielded "ten-1.test.ex"
120 ten-1.test.ex V4NET.0.0.1 mx=-1 sort=xx
121 checking addresses for ten-1.test.ex
123 sender_fullhost = ten-1.test.ex [V4NET.0.0.1]
124 sender_rcvhost = ten-1.test.ex ([V4NET.0.0.1] ident=me)
125 expanding: -oMs sender_host_name = $sender_host_name
126 result: -oMs sender_host_name = ten-1.test.ex
127 expanding: -oMt sender_ident = $sender_ident
128 result: -oMt sender_ident = me
129 >>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
130 Exim version x.yz ....
131 changed uid/gid: forcing real = effective
132 uid=uuuu gid=CALLER_GID pid=pppp
133 PATH in keep_environment? no (end of list)
134 PWD in keep_environment? no (end of list)
135 SHELL in keep_environment? no (end of list)
136 TERM in keep_environment? no (end of list)
137 USER in keep_environment? yes (matched "USER")
138 USER in keep_environment? yes (matched "USER")
139 USER in keep_environment? yes (matched "USER")
140 USER in keep_environment? yes (matched "USER")
141 USER in keep_environment? yes (matched "USER")
142 configuration file is TESTSUITE/test-config
144 changed uid/gid: privilege not needed
145 uid=EXIM_UID gid=EXIM_GID pid=pppp
146 originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
147 sender address = CALLER@myhost.test.ex
148 sender_fullhost = [V4NET.0.0.1]
149 sender_rcvhost = [V4NET.0.0.1]
150 host in hosts_connection_nolog? no (option unset)
151 LOG: smtp_connection MAIN
152 SMTP connection from [V4NET.0.0.1]
153 host in host_lookup? no (option unset)
154 set_process_info: pppp handling incoming connection from [V4NET.0.0.1]
155 host in host_reject_connection? no (option unset)
156 host in sender_unqualified_hosts? no (option unset)
157 host in recipient_unqualified_hosts? no (option unset)
158 host in helo_verify_hosts? no (option unset)
159 host in helo_try_verify_hosts? no (option unset)
160 host in helo_accept_junk_hosts? no (option unset)
163 check hosts = <\n partial-lsearch;TESTSUITE/aux-fixed/0002.lsearch \n 1.2.3.4
164 sender host name required, to match against partial-lsearch;TESTSUITE/aux-fixed/0002.lsearch
165 looking up host name for V4NET.0.0.1
166 DNS lookup of 1.0.0.V4NET.in-addr.arpa (PTR) using fakens
167 DNS lookup of 1.0.0.V4NET.in-addr.arpa (PTR) succeeded
168 IP address lookup yielded "ten-1.test.ex"
169 DNS lookup of ten-1.test.ex (A) using fakens
170 DNS lookup of ten-1.test.ex (A) succeeded
171 ten-1.test.ex V4NET.0.0.1 mx=-1 sort=xx
172 checking addresses for ten-1.test.ex
173 Forward DNS security status: unverified
175 sender_fullhost = ten-1.test.ex [V4NET.0.0.1]
176 sender_rcvhost = ten-1.test.ex ([V4NET.0.0.1])
177 search_open: lsearch "TESTSUITE/aux-fixed/0002.lsearch"
178 search_find: file="TESTSUITE/aux-fixed/0002.lsearch"
179 key="ten-1.test.ex" partial=2 affix=*. starflags=0
181 0TESTSUITE/aux-fixed/0002.lsearch
183 internal_search_find: file="TESTSUITE/aux-fixed/0002.lsearch"
184 type=lsearch key="ten-1.test.ex"
185 file lookup required for ten-1.test.ex
186 in TESTSUITE/aux-fixed/0002.lsearch
189 partial-lsearch;TESTSUITE/aux-fixed/0002.lsearch
190 1.2.3.4"? yes (matched "partial-lsearch;TESTSUITE/aux-fixed/0002.lsearch")
191 deny: condition test succeeded in ACL "connect1"
192 end of ACL "connect1": DENY
193 SMTP>> 550 Administrative prohibition
195 H=ten-1.test.ex [V4NET.0.0.1] rejected connection in "connect" ACL
197 >>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
198 Exim version x.yz ....
199 changed uid/gid: forcing real = effective
200 uid=uuuu gid=CALLER_GID pid=pppp
201 PATH in keep_environment? no (end of list)
202 PWD in keep_environment? no (end of list)
203 SHELL in keep_environment? no (end of list)
204 TERM in keep_environment? no (end of list)
205 USER in keep_environment? yes (matched "USER")
206 USER in keep_environment? yes (matched "USER")
207 USER in keep_environment? yes (matched "USER")
208 USER in keep_environment? yes (matched "USER")
209 USER in keep_environment? yes (matched "USER")
210 configuration file is TESTSUITE/test-config
212 changed uid/gid: privilege not needed
213 uid=EXIM_UID gid=EXIM_GID pid=pppp
214 originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
215 sender address = CALLER@myhost.test.ex
216 sender_fullhost = [V4NET.0.0.2]
217 sender_rcvhost = [V4NET.0.0.2]
218 host in hosts_connection_nolog? no (option unset)
219 LOG: smtp_connection MAIN
220 SMTP connection from [V4NET.0.0.2]
221 host in host_lookup? no (option unset)
222 set_process_info: pppp handling incoming connection from [V4NET.0.0.2]
223 host in host_reject_connection? no (option unset)
224 host in sender_unqualified_hosts? no (option unset)
225 host in recipient_unqualified_hosts? no (option unset)
226 host in helo_verify_hosts? no (option unset)
227 host in helo_try_verify_hosts? no (option unset)
228 host in helo_accept_junk_hosts? no (option unset)
231 check hosts = net-lsearch;TESTSUITE/aux-fixed/0002.lsearch
232 search_open: lsearch "TESTSUITE/aux-fixed/0002.lsearch"
233 search_find: file="TESTSUITE/aux-fixed/0002.lsearch"
234 key="V4NET.0.0.2" partial=-1 affix=NULL starflags=0
236 0TESTSUITE/aux-fixed/0002.lsearch
238 internal_search_find: file="TESTSUITE/aux-fixed/0002.lsearch"
239 type=lsearch key="V4NET.0.0.2"
240 file lookup required for V4NET.0.0.2
241 in TESTSUITE/aux-fixed/0002.lsearch
243 host in "net-lsearch;TESTSUITE/aux-fixed/0002.lsearch"? no (end of list)
244 deny: condition test failed in ACL "connect2"
245 end of ACL "connect2": implicit DENY
246 SMTP>> 550 Administrative prohibition
248 H=[V4NET.0.0.2] rejected connection in "connect" ACL
250 >>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
251 >>> host in hosts_connection_nolog? no (option unset)
252 >>> host in host_lookup? no (option unset)
253 >>> host in host_reject_connection? no (option unset)
254 >>> host in sender_unqualified_hosts? no (option unset)
255 >>> host in recipient_unqualified_hosts? no (option unset)
256 >>> host in helo_verify_hosts? no (option unset)
257 >>> host in helo_try_verify_hosts? no (option unset)
258 >>> host in helo_accept_junk_hosts? no (option unset)
259 >>> using ACL "connect0"
260 >>> processing "accept"
261 >>> accept: condition test succeeded in ACL "connect0"
262 >>> end of ACL "connect0": ACCEPT
263 >>> processing "accept"
264 >>> accept: condition test succeeded in inline ACL
265 >>> end of inline ACL: ACCEPT
266 >>> using ACL "check_data"
267 >>> processing "warn"
268 >>> check logwrite = Subject is: "$h_subject:"
270 LOG: 10HmaX-0005vi-00 Subject is: ""
271 >>> warn: condition test succeeded in ACL "check_data"
272 >>> processing "deny"
273 >>> message: reply_address=<$reply_address>
274 >>> deny: condition test succeeded in ACL "check_data"
275 >>> end of ACL "check_data": DENY
276 LOG: 10HmaX-0005vi-00 H=[V4NET.0.0.0] F=<> rejected after DATA: reply_address=<>
277 >>> processing "accept"
278 >>> accept: condition test succeeded in inline ACL
279 >>> end of inline ACL: ACCEPT
280 >>> host in ignore_fromline_hosts? no (option unset)
281 >>> using ACL "check_data"
282 >>> processing "warn"
283 >>> check logwrite = Subject is: "$h_subject:"
285 LOG: 10HmaY-0005vi-00 Subject is: ""
286 >>> warn: condition test succeeded in ACL "check_data"
287 >>> processing "deny"
288 >>> message: reply_address=<$reply_address>
289 >>> deny: condition test succeeded in ACL "check_data"
290 >>> end of ACL "check_data": DENY
291 LOG: 10HmaY-0005vi-00 H=[V4NET.0.0.0] F=<> rejected after DATA: reply_address=<a@b>
292 >>> processing "accept"
293 >>> accept: condition test succeeded in inline ACL
294 >>> end of inline ACL: ACCEPT
295 >>> host in ignore_fromline_hosts? no (option unset)
296 >>> using ACL "check_data"
297 >>> processing "warn"
298 >>> check logwrite = Subject is: "$h_subject:"
300 LOG: 10HmaZ-0005vi-00 Subject is: ""
301 >>> warn: condition test succeeded in ACL "check_data"
302 >>> processing "deny"
303 >>> message: reply_address=<$reply_address>
304 >>> deny: condition test succeeded in ACL "check_data"
305 >>> end of ACL "check_data": DENY
306 LOG: 10HmaZ-0005vi-00 H=[V4NET.0.0.0] F=<> rejected after DATA: reply_address=<c@d>
307 >>> processing "accept"
308 >>> accept: condition test succeeded in inline ACL
309 >>> end of inline ACL: ACCEPT
310 >>> host in ignore_fromline_hosts? no (option unset)
311 >>> using ACL "check_data"
312 >>> processing "warn"
313 >>> check logwrite = Subject is: "$h_subject:"
315 LOG: 10HmbA-0005vi-00 Subject is: ""
316 >>> warn: condition test succeeded in ACL "check_data"
317 >>> processing "deny"
318 >>> message: reply_address=<$reply_address>
319 >>> deny: condition test succeeded in ACL "check_data"
320 >>> end of ACL "check_data": DENY
321 LOG: 10HmbA-0005vi-00 H=[V4NET.0.0.0] F=<> rejected after DATA: reply_address=<>
322 >>> processing "accept"
323 >>> accept: condition test succeeded in inline ACL
324 >>> end of inline ACL: ACCEPT
325 >>> host in ignore_fromline_hosts? no (option unset)
326 >>> using ACL "check_data"
327 >>> processing "warn"
328 >>> check logwrite = Subject is: "$h_subject:"
330 LOG: 10HmbB-0005vi-00 Subject is: ""
331 >>> warn: condition test succeeded in ACL "check_data"
332 >>> processing "deny"
333 >>> message: reply_address=<$reply_address>
334 >>> deny: condition test succeeded in ACL "check_data"
335 >>> end of ACL "check_data": DENY
336 LOG: 10HmbB-0005vi-00 H=[V4NET.0.0.0] F=<> rejected after DATA: reply_address=<x@y>
337 >>> host in hosts_connection_nolog? no (option unset)
338 >>> host in host_lookup? no (option unset)
339 >>> host in host_reject_connection? no (option unset)
340 >>> host in sender_unqualified_hosts? no (option unset)
341 >>> host in recipient_unqualified_hosts? no (option unset)
342 >>> host in helo_verify_hosts? no (option unset)
343 >>> host in helo_try_verify_hosts? no (option unset)
344 >>> host in helo_accept_junk_hosts? no (option unset)
345 >>> using ACL "connect0"
346 >>> processing "accept"
347 >>> accept: condition test succeeded in ACL "connect0"
348 >>> end of ACL "connect0": ACCEPT
349 >>> processing "accept"
350 >>> accept: condition test succeeded in inline ACL
351 >>> end of inline ACL: ACCEPT
352 >>> host in ignore_fromline_hosts? no (option unset)
353 >>> using ACL "check_data"
354 >>> processing "warn"
355 >>> check logwrite = Subject is: "$h_subject:"
356 >>> = 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?="
357 LOG: 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?="
358 >>> warn: condition test succeeded in ACL "check_data"
359 >>> processing "deny"
360 >>> message: reply_address=<$reply_address>
361 >>> deny: condition test succeeded in ACL "check_data"
362 >>> end of ACL "check_data": DENY
363 LOG: 10HmbC-0005vi-00 H=[V4NET.0.0.0] F=<> rejected after DATA: reply_address=<>
364 >>> host in hosts_connection_nolog? no (option unset)
365 >>> host in host_lookup? no (option unset)
366 >>> host in host_reject_connection? no (option unset)
367 >>> host in sender_unqualified_hosts? no (option unset)
368 >>> host in recipient_unqualified_hosts? no (option unset)
369 >>> host in helo_verify_hosts? no (option unset)
370 >>> host in helo_try_verify_hosts? no (option unset)
371 >>> host in helo_accept_junk_hosts? no (option unset)
372 >>> using ACL "connect0"
373 >>> processing "accept"
374 >>> accept: condition test succeeded in ACL "connect0"
375 >>> end of ACL "connect0": ACCEPT
376 >>> processing "accept"
377 >>> accept: condition test succeeded in inline ACL
378 >>> end of inline ACL: ACCEPT
379 >>> host in ignore_fromline_hosts? no (option unset)
380 >>> using ACL "check_data"
381 >>> processing "warn"
382 >>> check logwrite = Subject is: "$h_subject:"
383 >>> = 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"
384 LOG: 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"
385 >>> warn: condition test succeeded in ACL "check_data"
386 >>> processing "deny"
387 >>> message: reply_address=<$reply_address>
388 >>> deny: condition test succeeded in ACL "check_data"
389 >>> end of ACL "check_data": DENY
390 LOG: 10HmbD-0005vi-00 H=[V4NET.0.0.0] F=<> rejected after DATA: reply_address=<>
391 Exim version x.yz ....
392 changed uid/gid: -C, -D, -be or -bf forces real uid
393 uid=CALLER_UID gid=CALLER_GID pid=pppp
394 PATH in keep_environment? no (end of list)
395 PWD in keep_environment? no (end of list)
396 SHELL in keep_environment? no (end of list)
397 TERM in keep_environment? no (end of list)
398 USER in keep_environment? yes (matched "USER")
399 USER in keep_environment? yes (matched "USER")
400 USER in keep_environment? yes (matched "USER")
401 USER in keep_environment? yes (matched "USER")
402 USER in keep_environment? yes (matched "USER")
403 configuration file is TESTSUITE/test-config
405 originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
406 sender address = CALLER@myhost.test.ex
407 1.2.3.4 in "1.2.3"? no (malformed IPv4 address or address mask)
408 1.2.3.4 in "1.2.3.4/abc"? no (malformed IPv4 address or address mask)
410 >>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>