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 configuration file is TESTSUITE/test-config
135 changed uid/gid: privilege not needed
136 uid=EXIM_UID gid=EXIM_GID pid=pppp
137 originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
138 sender address = CALLER@myhost.test.ex
139 sender_fullhost = [V4NET.0.0.1]
140 sender_rcvhost = [V4NET.0.0.1]
141 host in hosts_connection_nolog? no (option unset)
142 LOG: smtp_connection MAIN
143 SMTP connection from [V4NET.0.0.1]
144 host in host_lookup? no (option unset)
145 set_process_info: pppp handling incoming connection from [V4NET.0.0.1]
146 host in host_reject_connection? no (option unset)
147 host in sender_unqualified_hosts? no (option unset)
148 host in recipient_unqualified_hosts? no (option unset)
149 host in helo_verify_hosts? no (option unset)
150 host in helo_try_verify_hosts? no (option unset)
151 host in helo_accept_junk_hosts? no (option unset)
154 check hosts = <\n partial-lsearch;TESTSUITE/aux-fixed/0002.lsearch \n 1.2.3.4
155 sender host name required, to match against partial-lsearch;TESTSUITE/aux-fixed/0002.lsearch
156 looking up host name for V4NET.0.0.1
157 DNS lookup of 1.0.0.V4NET.in-addr.arpa (PTR) using fakens
158 DNS lookup of 1.0.0.V4NET.in-addr.arpa (PTR) succeeded
159 IP address lookup yielded "ten-1.test.ex"
160 DNS lookup of ten-1.test.ex (A) using fakens
161 DNS lookup of ten-1.test.ex (A) succeeded
162 ten-1.test.ex V4NET.0.0.1 mx=-1 sort=xx
163 checking addresses for ten-1.test.ex
164 Forward DNS security status: unverified
166 sender_fullhost = ten-1.test.ex [V4NET.0.0.1]
167 sender_rcvhost = ten-1.test.ex ([V4NET.0.0.1])
168 search_open: lsearch "TESTSUITE/aux-fixed/0002.lsearch"
169 search_find: file="TESTSUITE/aux-fixed/0002.lsearch"
170 key="ten-1.test.ex" partial=2 affix=*. starflags=0
172 0TESTSUITE/aux-fixed/0002.lsearch
174 internal_search_find: file="TESTSUITE/aux-fixed/0002.lsearch"
175 type=lsearch key="ten-1.test.ex"
176 file lookup required for ten-1.test.ex
177 in TESTSUITE/aux-fixed/0002.lsearch
180 partial-lsearch;TESTSUITE/aux-fixed/0002.lsearch
181 1.2.3.4"? yes (matched "partial-lsearch;TESTSUITE/aux-fixed/0002.lsearch")
182 deny: condition test succeeded in ACL "connect1"
183 end of ACL "connect1": DENY
184 SMTP>> 550 Administrative prohibition
186 H=ten-1.test.ex [V4NET.0.0.1] rejected connection in "connect" ACL
188 >>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
189 Exim version x.yz ....
190 changed uid/gid: forcing real = effective
191 uid=uuuu gid=CALLER_GID pid=pppp
192 configuration file is TESTSUITE/test-config
194 changed uid/gid: privilege not needed
195 uid=EXIM_UID gid=EXIM_GID pid=pppp
196 originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
197 sender address = CALLER@myhost.test.ex
198 sender_fullhost = [V4NET.0.0.2]
199 sender_rcvhost = [V4NET.0.0.2]
200 host in hosts_connection_nolog? no (option unset)
201 LOG: smtp_connection MAIN
202 SMTP connection from [V4NET.0.0.2]
203 host in host_lookup? no (option unset)
204 set_process_info: pppp handling incoming connection from [V4NET.0.0.2]
205 host in host_reject_connection? no (option unset)
206 host in sender_unqualified_hosts? no (option unset)
207 host in recipient_unqualified_hosts? no (option unset)
208 host in helo_verify_hosts? no (option unset)
209 host in helo_try_verify_hosts? no (option unset)
210 host in helo_accept_junk_hosts? no (option unset)
213 check hosts = net-lsearch;TESTSUITE/aux-fixed/0002.lsearch
214 search_open: lsearch "TESTSUITE/aux-fixed/0002.lsearch"
215 search_find: file="TESTSUITE/aux-fixed/0002.lsearch"
216 key="V4NET.0.0.2" partial=-1 affix=NULL starflags=0
218 0TESTSUITE/aux-fixed/0002.lsearch
220 internal_search_find: file="TESTSUITE/aux-fixed/0002.lsearch"
221 type=lsearch key="V4NET.0.0.2"
222 file lookup required for V4NET.0.0.2
223 in TESTSUITE/aux-fixed/0002.lsearch
225 host in "net-lsearch;TESTSUITE/aux-fixed/0002.lsearch"? no (end of list)
226 deny: condition test failed in ACL "connect2"
227 end of ACL "connect2": implicit DENY
228 SMTP>> 550 Administrative prohibition
230 H=[V4NET.0.0.2] rejected connection in "connect" ACL
232 >>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
233 >>> host in hosts_connection_nolog? no (option unset)
234 >>> host in host_lookup? no (option unset)
235 >>> host in host_reject_connection? no (option unset)
236 >>> host in sender_unqualified_hosts? no (option unset)
237 >>> host in recipient_unqualified_hosts? no (option unset)
238 >>> host in helo_verify_hosts? no (option unset)
239 >>> host in helo_try_verify_hosts? no (option unset)
240 >>> host in helo_accept_junk_hosts? no (option unset)
241 >>> using ACL "connect0"
242 >>> processing "accept"
243 >>> accept: condition test succeeded in ACL "connect0"
244 >>> end of ACL "connect0": ACCEPT
245 >>> processing "accept"
246 >>> accept: condition test succeeded in inline ACL
247 >>> end of inline ACL: ACCEPT
248 >>> using ACL "check_data"
249 >>> processing "warn"
250 >>> check logwrite = Subject is: "$h_subject:"
252 LOG: 10HmaX-0005vi-00 Subject is: ""
253 >>> warn: condition test succeeded in ACL "check_data"
254 >>> processing "deny"
255 >>> message: reply_address=<$reply_address>
256 >>> deny: condition test succeeded in ACL "check_data"
257 >>> end of ACL "check_data": DENY
258 LOG: 10HmaX-0005vi-00 H=[V4NET.0.0.0] F=<> rejected after DATA: reply_address=<>
259 >>> processing "accept"
260 >>> accept: condition test succeeded in inline ACL
261 >>> end of inline ACL: ACCEPT
262 >>> host in ignore_fromline_hosts? no (option unset)
263 >>> using ACL "check_data"
264 >>> processing "warn"
265 >>> check logwrite = Subject is: "$h_subject:"
267 LOG: 10HmaY-0005vi-00 Subject is: ""
268 >>> warn: condition test succeeded in ACL "check_data"
269 >>> processing "deny"
270 >>> message: reply_address=<$reply_address>
271 >>> deny: condition test succeeded in ACL "check_data"
272 >>> end of ACL "check_data": DENY
273 LOG: 10HmaY-0005vi-00 H=[V4NET.0.0.0] F=<> rejected after DATA: reply_address=<a@b>
274 >>> processing "accept"
275 >>> accept: condition test succeeded in inline ACL
276 >>> end of inline ACL: ACCEPT
277 >>> host in ignore_fromline_hosts? no (option unset)
278 >>> using ACL "check_data"
279 >>> processing "warn"
280 >>> check logwrite = Subject is: "$h_subject:"
282 LOG: 10HmaZ-0005vi-00 Subject is: ""
283 >>> warn: condition test succeeded in ACL "check_data"
284 >>> processing "deny"
285 >>> message: reply_address=<$reply_address>
286 >>> deny: condition test succeeded in ACL "check_data"
287 >>> end of ACL "check_data": DENY
288 LOG: 10HmaZ-0005vi-00 H=[V4NET.0.0.0] F=<> rejected after DATA: reply_address=<c@d>
289 >>> processing "accept"
290 >>> accept: condition test succeeded in inline ACL
291 >>> end of inline ACL: ACCEPT
292 >>> host in ignore_fromline_hosts? no (option unset)
293 >>> using ACL "check_data"
294 >>> processing "warn"
295 >>> check logwrite = Subject is: "$h_subject:"
297 LOG: 10HmbA-0005vi-00 Subject is: ""
298 >>> warn: condition test succeeded in ACL "check_data"
299 >>> processing "deny"
300 >>> message: reply_address=<$reply_address>
301 >>> deny: condition test succeeded in ACL "check_data"
302 >>> end of ACL "check_data": DENY
303 LOG: 10HmbA-0005vi-00 H=[V4NET.0.0.0] F=<> rejected after DATA: reply_address=<>
304 >>> processing "accept"
305 >>> accept: condition test succeeded in inline ACL
306 >>> end of inline ACL: ACCEPT
307 >>> host in ignore_fromline_hosts? no (option unset)
308 >>> using ACL "check_data"
309 >>> processing "warn"
310 >>> check logwrite = Subject is: "$h_subject:"
312 LOG: 10HmbB-0005vi-00 Subject is: ""
313 >>> warn: condition test succeeded in ACL "check_data"
314 >>> processing "deny"
315 >>> message: reply_address=<$reply_address>
316 >>> deny: condition test succeeded in ACL "check_data"
317 >>> end of ACL "check_data": DENY
318 LOG: 10HmbB-0005vi-00 H=[V4NET.0.0.0] F=<> rejected after DATA: reply_address=<x@y>
319 >>> host in hosts_connection_nolog? no (option unset)
320 >>> host in host_lookup? no (option unset)
321 >>> host in host_reject_connection? no (option unset)
322 >>> host in sender_unqualified_hosts? no (option unset)
323 >>> host in recipient_unqualified_hosts? no (option unset)
324 >>> host in helo_verify_hosts? no (option unset)
325 >>> host in helo_try_verify_hosts? no (option unset)
326 >>> host in helo_accept_junk_hosts? no (option unset)
327 >>> using ACL "connect0"
328 >>> processing "accept"
329 >>> accept: condition test succeeded in ACL "connect0"
330 >>> end of ACL "connect0": ACCEPT
331 >>> processing "accept"
332 >>> accept: condition test succeeded in inline ACL
333 >>> end of inline ACL: ACCEPT
334 >>> host in ignore_fromline_hosts? no (option unset)
335 >>> using ACL "check_data"
336 >>> processing "warn"
337 >>> check logwrite = Subject is: "$h_subject:"
338 >>> = 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?="
339 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?="
340 >>> warn: condition test succeeded in ACL "check_data"
341 >>> processing "deny"
342 >>> message: reply_address=<$reply_address>
343 >>> deny: condition test succeeded in ACL "check_data"
344 >>> end of ACL "check_data": DENY
345 LOG: 10HmbC-0005vi-00 H=[V4NET.0.0.0] F=<> rejected after DATA: reply_address=<>
346 >>> host in hosts_connection_nolog? no (option unset)
347 >>> host in host_lookup? no (option unset)
348 >>> host in host_reject_connection? no (option unset)
349 >>> host in sender_unqualified_hosts? no (option unset)
350 >>> host in recipient_unqualified_hosts? no (option unset)
351 >>> host in helo_verify_hosts? no (option unset)
352 >>> host in helo_try_verify_hosts? no (option unset)
353 >>> host in helo_accept_junk_hosts? no (option unset)
354 >>> using ACL "connect0"
355 >>> processing "accept"
356 >>> accept: condition test succeeded in ACL "connect0"
357 >>> end of ACL "connect0": ACCEPT
358 >>> processing "accept"
359 >>> accept: condition test succeeded in inline ACL
360 >>> end of inline ACL: ACCEPT
361 >>> host in ignore_fromline_hosts? no (option unset)
362 >>> using ACL "check_data"
363 >>> processing "warn"
364 >>> check logwrite = Subject is: "$h_subject:"
365 >>> = 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"
366 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"
367 >>> warn: condition test succeeded in ACL "check_data"
368 >>> processing "deny"
369 >>> message: reply_address=<$reply_address>
370 >>> deny: condition test succeeded in ACL "check_data"
371 >>> end of ACL "check_data": DENY
372 LOG: 10HmbD-0005vi-00 H=[V4NET.0.0.0] F=<> rejected after DATA: reply_address=<>
373 Exim version x.yz ....
374 changed uid/gid: -C, -D, -be or -bf forces real uid
375 uid=CALLER_UID gid=CALLER_GID pid=pppp
376 configuration file is TESTSUITE/test-config
378 originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
379 sender address = CALLER@myhost.test.ex
380 1.2.3.4 in "1.2.3"? no (malformed IPv4 address or address mask)
381 1.2.3.4 in "1.2.3.4/abc"? no (malformed IPv4 address or address mask)
383 >>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>