2 configuration file is TESTSUITE/test-config
5 host in hosts_connection_nolog? no (option unset)
6 LOG: smtp_connection MAIN
7 SMTP connection from CALLER
8 host in host_lookup? no (option unset)
9 host in host_reject_connection? no (option unset)
10 host in sender_unqualified_hosts? no (option unset)
11 host in recipient_unqualified_hosts? no (option unset)
12 host in helo_verify_hosts? no (option unset)
13 host in helo_try_verify_hosts? no (option unset)
14 host in helo_accept_junk_hosts? no (option unset)
16 processing "deny" (TESTSUITE/test-config 52)
17 check hosts = : 10.9.8.7
20 list element: 10.9.8.7
21 host in ": 10.9.8.7"? no (end of list)
22 deny: condition test failed in ACL "connect"
23 processing "drop" (TESTSUITE/test-config 53)
24 l_message: forcibly dropped
25 check hosts = 10.9.8.9
27 list element: 10.9.8.9
28 host in "10.9.8.9"? no (end of list)
29 drop: condition test failed in ACL "connect"
30 processing "accept" (TESTSUITE/test-config 55)
31 check logwrite = $sender_host_address accepted by connect ACL
32 = 10.9.8.8 accepted by connect ACL
34 10.9.8.8 accepted by connect ACL
35 accept: condition test succeeded in ACL "connect"
36 end of ACL "connect": ACCEPT
37 host in hosts_require_helo?
39 host in hosts_require_helo? no (end of list)
41 processing "warn" (TESTSUITE/test-config 63)
42 message: added header line
43 check senders = ok@test3
44 bad@test1 in "ok@test3"?
45 list element: ok@test3
46 address match test: subject=bad@test1 pattern=ok@test3
47 bad@test1 in "ok@test3"? no (end of list)
48 warn: condition test failed in ACL "mail"
49 processing "accept" (TESTSUITE/test-config 65)
50 check senders = ok@test1 : ok@test3
51 bad@test1 in "ok@test1 : ok@test3"?
52 list element: ok@test1
53 address match test: subject=bad@test1 pattern=ok@test1
54 list element: ok@test3
55 address match test: subject=bad@test1 pattern=ok@test3
56 bad@test1 in "ok@test1 : ok@test3"? no (end of list)
57 accept: condition test failed in ACL "mail"
58 end of ACL "mail": implicit DENY
60 H=[10.9.8.8] U=CALLER rejected MAIL <bad@test1>
61 host in hosts_require_helo?
63 host in hosts_require_helo? no (end of list)
65 processing "warn" (TESTSUITE/test-config 63)
66 message: added header line
67 check senders = ok@test3
68 ok@test1 in "ok@test3"?
69 list element: ok@test3
70 address match test: subject=ok@test1 pattern=ok@test3
73 test1 in "test3"? no (end of list)
74 ok@test1 in "ok@test3"? no (end of list)
75 warn: condition test failed in ACL "mail"
76 processing "accept" (TESTSUITE/test-config 65)
77 check senders = ok@test1 : ok@test3
78 ok@test1 in "ok@test1 : ok@test3"?
79 list element: ok@test1
80 address match test: subject=ok@test1 pattern=ok@test1
83 test1 in "test1"? yes (matched "test1")
84 ok@test1 in "ok@test1 : ok@test3"? yes (matched "ok@test1")
88 ok in "!bad"? yes (end of list)
89 ----------- end verify ------------
90 sender ok@test1 verified ok
91 check logwrite = :main,reject: mail accepted "$smtp_command" "$smtp_command_argument"
92 = :main,reject: mail accepted "mail from:<ok@test1>" "<ok@test1>"
94 mail accepted "mail from:<ok@test1>" "<ok@test1>"
95 accept: condition test succeeded in ACL "mail"
96 end of ACL "mail": ACCEPT
98 processing "accept" (TESTSUITE/test-config 70)
99 check senders = +ok_senders
100 ok@test1 in "+ok_senders"?
101 list element: +ok_senders
102 start sublist ok_senders
103 ok@test1 in "ok@somewhere : ok@test1 : ok@test3"?
104 ╎list element: ok@somewhere
105 ╎address match test: subject=ok@test1 pattern=ok@somewhere
106 ╎test1 in "somewhere"?
107 ╎ list element: somewhere
108 ╎test1 in "somewhere"? no (end of list)
109 ╎list element: ok@test1
110 ╎address match test: subject=ok@test1 pattern=ok@test1
112 ╎ list element: test1
113 ╎ test1 in "test1"? yes (matched "test1")
114 ╎ok@test1 in "ok@somewhere : ok@test1 : ok@test3"? yes (matched "ok@test1")
115 end sublist ok_senders
116 data from lookup saved for cache for +ok_senders: key 'ok@test1' value 'ok@test1'
117 ok@test1 in "+ok_senders"? yes (matched "+ok_senders")
118 check sender_domains = +ok_sender_domains
119 test1 in "+ok_sender_domains"?
120 list element: +ok_sender_domains
121 start sublist ok_sender_domains
122 test1 in "somewhere : test1 : test3"?
123 ╎list element: somewhere
125 ╎test1 in "somewhere : test1 : test3"? yes (matched "test1")
126 end sublist ok_sender_domains
127 test1 in "+ok_sender_domains"? yes (matched "+ok_sender_domains")
128 check logwrite = :panic: rcpt accepted C=$smtp_command_history
129 = :panic: rcpt accepted C=MAIL,MAIL,RCPT
131 rcpt accepted C=MAIL,MAIL,RCPT
132 accept: condition test succeeded in ACL "rcpt"
133 end of ACL "rcpt": ACCEPT
135 processing "accept" (TESTSUITE/test-config 70)
136 check senders = +ok_senders
137 ok@test1 in "+ok_senders"?
138 list element: +ok_senders
139 start sublist ok_senders
140 cached yes match for +ok_senders
141 cached lookup data = ok@test1
142 ok@test1 in "+ok_senders"? yes (matched "+ok_senders" - cached)
143 check sender_domains = +ok_sender_domains
144 test1 in "+ok_sender_domains"?
145 list element: +ok_sender_domains
146 start sublist ok_sender_domains
147 cached yes match for +ok_sender_domains
148 test1 in "+ok_sender_domains"? yes (matched "+ok_sender_domains" - cached)
149 check logwrite = :panic: rcpt accepted C=$smtp_command_history
150 = :panic: rcpt accepted C=MAIL,MAIL,RCPT,RCPT
152 rcpt accepted C=MAIL,MAIL,RCPT,RCPT
153 accept: condition test succeeded in ACL "rcpt"
154 end of ACL "rcpt": ACCEPT
155 LOG: smtp_connection MAIN
156 SMTP connection from CALLER D=qqs closed by QUIT
157 >>>>>>>>>>>>>>>> Exim pid=p1234 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>
158 1999-03-02 09:44:33 ACL "warn" with "message" setting found in a non-message (EHLO or HELO) ACL: cannot specify header lines here: message ignored
159 Exim version x.yz ....
160 configuration file is TESTSUITE/test-config
163 host in hosts_connection_nolog? no (option unset)
164 LOG: smtp_connection MAIN
165 SMTP connection from CALLER
166 host in host_lookup? no (option unset)
167 host in host_reject_connection? no (option unset)
168 host in sender_unqualified_hosts? no (option unset)
169 host in recipient_unqualified_hosts? no (option unset)
170 host in helo_verify_hosts? no (option unset)
171 host in helo_try_verify_hosts? no (option unset)
172 host in helo_accept_junk_hosts? no (option unset)
174 processing "deny" (TESTSUITE/test-config 52)
175 check hosts = : 10.9.8.7
176 host in ": 10.9.8.7"?
178 list element: 10.9.8.7
179 host in ": 10.9.8.7"? no (end of list)
180 deny: condition test failed in ACL "connect"
181 processing "drop" (TESTSUITE/test-config 53)
182 l_message: forcibly dropped
183 check hosts = 10.9.8.9
185 list element: 10.9.8.9
186 host in "10.9.8.9"? no (end of list)
187 drop: condition test failed in ACL "connect"
188 processing "accept" (TESTSUITE/test-config 55)
189 check logwrite = $sender_host_address accepted by connect ACL
190 = 10.9.8.8 accepted by connect ACL
192 10.9.8.8 accepted by connect ACL
193 accept: condition test succeeded in ACL "connect"
194 end of ACL "connect": ACCEPT
195 host in hosts_require_helo?
197 host in hosts_require_helo? no (end of list)
199 processing "warn" (TESTSUITE/test-config 63)
200 message: added header line
201 check senders = ok@test3
202 ok@test3 in "ok@test3"?
203 list element: ok@test3
204 address match test: subject=ok@test3 pattern=ok@test3
207 test3 in "test3"? yes (matched "test3")
208 ok@test3 in "ok@test3"? yes (matched "ok@test3")
209 warn: condition test succeeded in ACL "mail"
210 processing "accept" (TESTSUITE/test-config 65)
211 check senders = ok@test1 : ok@test3
212 ok@test3 in "ok@test1 : ok@test3"?
213 list element: ok@test1
214 address match test: subject=ok@test3 pattern=ok@test1
217 test3 in "test1"? no (end of list)
218 list element: ok@test3
219 address match test: subject=ok@test3 pattern=ok@test3
222 test3 in "test3"? yes (matched "test3")
223 ok@test3 in "ok@test1 : ok@test3"? yes (matched "ok@test3")
224 check verify = sender
227 ok in "!bad"? yes (end of list)
228 ----------- end verify ------------
229 sender ok@test3 verified ok
230 check logwrite = :main,reject: mail accepted "$smtp_command" "$smtp_command_argument"
231 = :main,reject: mail accepted "mail from:<ok@test3>" "<ok@test3>"
233 mail accepted "mail from:<ok@test3>" "<ok@test3>"
234 accept: condition test succeeded in ACL "mail"
235 end of ACL "mail": ACCEPT
237 processing "accept" (TESTSUITE/test-config 70)
238 check senders = +ok_senders
239 ok@test3 in "+ok_senders"?
240 list element: +ok_senders
241 start sublist ok_senders
242 ok@test3 in "ok@somewhere : ok@test1 : ok@test3"?
243 ╎list element: ok@somewhere
244 ╎address match test: subject=ok@test3 pattern=ok@somewhere
245 ╎test3 in "somewhere"?
246 ╎ list element: somewhere
247 ╎test3 in "somewhere"? no (end of list)
248 ╎list element: ok@test1
249 ╎address match test: subject=ok@test3 pattern=ok@test1
251 ╎ list element: test1
252 ╎test3 in "test1"? no (end of list)
253 ╎list element: ok@test3
254 ╎address match test: subject=ok@test3 pattern=ok@test3
256 ╎ list element: test3
257 ╎ test3 in "test3"? yes (matched "test3")
258 ╎ok@test3 in "ok@somewhere : ok@test1 : ok@test3"? yes (matched "ok@test3")
259 end sublist ok_senders
260 data from lookup saved for cache for +ok_senders: key 'ok@test3' value 'ok@test3'
261 ok@test3 in "+ok_senders"? yes (matched "+ok_senders")
262 check sender_domains = +ok_sender_domains
263 test3 in "+ok_sender_domains"?
264 list element: +ok_sender_domains
265 start sublist ok_sender_domains
266 test3 in "somewhere : test1 : test3"?
267 ╎list element: somewhere
270 ╎test3 in "somewhere : test1 : test3"? yes (matched "test3")
271 end sublist ok_sender_domains
272 test3 in "+ok_sender_domains"? yes (matched "+ok_sender_domains")
273 check logwrite = :panic: rcpt accepted C=$smtp_command_history
274 = :panic: rcpt accepted C=MAIL,RCPT
276 rcpt accepted C=MAIL,RCPT
277 accept: condition test succeeded in ACL "rcpt"
278 end of ACL "rcpt": ACCEPT
279 >>Headers added by MAIL or RCPT ACL:
280 X-ACL-Warn: added header line
283 <= ok@test3 H=[10.9.8.8] U=CALLER P=smtp S=sss
284 Exim version x.yz ....
285 configuration file is TESTSUITE/test-config
288 dropping to exim gid; retaining priv uid
291 x in "!bad"? yes (end of list)
293 => x <x@y> R=accept T=appendfile
296 >>>>>>>>>>>>>>>> Exim pid=p1236 (local-accept-delivery) terminating with rc=0 >>>>>>>>>>>>>>>>
297 LOG: smtp_connection MAIN
298 SMTP connection from CALLER D=qqs closed by QUIT
299 >>>>>>>>>>>>>>>> Exim pid=p1235 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>
300 1999-03-02 09:44:33 ACL "warn" with "message" setting found in a non-message (EHLO or HELO) ACL: cannot specify header lines here: message ignored
301 1999-03-02 09:44:33 rcpt accepted C=EHLO,MAIL,RCPT
302 1999-03-02 09:44:33 10HmaX-0005vi-00 10HmaX-0005vi-00 no recipients found in headers