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