Flush SMTP output buffer before "delay" in an ACL; add control =
[exim.git] / test / stderr / 0021
1 Exim version x.yz ....
2 configuration file is TESTSUITE/test-config
3 trusted user
4 admin user
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)
15 using ACL "connect"
16 processing "deny"
17 check hosts = : 10.9.8.7
18 host in ": 10.9.8.7"? no (end of list)
19 deny: condition test failed
20 processing "drop"
21 check hosts = 10.9.8.9
22 host in "10.9.8.9"? no (end of list)
23 drop: condition test failed
24 processing "accept"
25 check logwrite = $sender_host_address accepted by connect ACL
26 = 10.9.8.8 accepted by connect ACL
27 LOG: MAIN
28 10.9.8.8 accepted by connect ACL
29 accept: condition test succeeded
30 using ACL "mail"
31 processing "warn"
32 check senders = ok@test3
33 address match: subject=bad@test1 pattern=ok@test3
34 bad@test1 in "ok@test3"? no (end of list)
35 warn: condition test failed
36 processing "accept"
37 check senders = ok@test1 : ok@test3
38 address match: subject=bad@test1 pattern=ok@test1
39 address match: subject=bad@test1 pattern=ok@test3
40 bad@test1 in "ok@test1 : ok@test3"? no (end of list)
41 accept: condition test failed
42 end of ACL "mail": implicit DENY
43 LOG: MAIN REJECT
44 H=[10.9.8.8] U=CALLER rejected MAIL <bad@test1>
45 using ACL "mail"
46 processing "warn"
47 check senders = ok@test3
48 address match: subject=ok@test1 pattern=ok@test3
49 test1 in "test3"? no (end of list)
50 ok@test1 in "ok@test3"? no (end of list)
51 warn: condition test failed
52 processing "accept"
53 check senders = ok@test1 : ok@test3
54 address match: subject=ok@test1 pattern=ok@test1
55 test1 in "test1"? yes (matched "test1")
56 ok@test1 in "ok@test1 : ok@test3"? yes (matched "ok@test1")
57 check verify = sender
58 ok in "!bad"? yes (end of list)
59 ----------- end verify ------------
60 sender ok@test1 verified ok
61 check logwrite = :main,reject: mail accepted
62 LOG: MAIN REJECT
63 mail accepted
64 accept: condition test succeeded
65 using ACL "rcpt"
66 processing "accept"
67 check senders = +ok_senders
68 address match: subject=ok@test1 pattern=ok@somewhere
69 test1 in "somewhere"? no (end of list)
70 address match: subject=ok@test1 pattern=ok@test1
71 test1 in "test1"? yes (matched "test1")
72 ok@test1 in "ok@somewhere : ok@test1 : ok@test3"? yes (matched "ok@test1")
73 ok@test1 in "+ok_senders"? yes (matched "+ok_senders")
74 check sender_domains = +ok_sender_domains
75 test1 in "somewhere : test1 : test3"? yes (matched "test1")
76 test1 in "+ok_sender_domains"? yes (matched "+ok_sender_domains")
77 check logwrite = :panic: rcpt accepted
78 LOG: PANIC
79 rcpt accepted
80 accept: condition test succeeded
81 using ACL "rcpt"
82 processing "accept"
83 check senders = +ok_senders
84 cached yes match for +ok_senders
85 cached lookup data = NULL
86 ok@test1 in "+ok_senders"? yes (matched "+ok_senders" - cached)
87 check sender_domains = +ok_sender_domains
88 cached yes match for +ok_sender_domains
89 test1 in "+ok_sender_domains"? yes (matched "+ok_sender_domains" - cached)
90 check logwrite = :panic: rcpt accepted
91 LOG: PANIC
92 rcpt accepted
93 accept: condition test succeeded
94 LOG: smtp_connection MAIN
95 SMTP connection from CALLER closed by QUIT
96 >>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
97 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
98 Exim version x.yz ....
99 configuration file is TESTSUITE/test-config
100 trusted user
101 admin user
102 host in hosts_connection_nolog? no (option unset)
103 LOG: smtp_connection MAIN
104 SMTP connection from CALLER
105 host in host_lookup? no (option unset)
106 host in host_reject_connection? no (option unset)
107 host in sender_unqualified_hosts? no (option unset)
108 host in recipient_unqualified_hosts? no (option unset)
109 host in helo_verify_hosts? no (option unset)
110 host in helo_try_verify_hosts? no (option unset)
111 host in helo_accept_junk_hosts? no (option unset)
112 using ACL "connect"
113 processing "deny"
114 check hosts = : 10.9.8.7
115 host in ": 10.9.8.7"? no (end of list)
116 deny: condition test failed
117 processing "drop"
118 check hosts = 10.9.8.9
119 host in "10.9.8.9"? no (end of list)
120 drop: condition test failed
121 processing "accept"
122 check logwrite = $sender_host_address accepted by connect ACL
123 = 10.9.8.8 accepted by connect ACL
124 LOG: MAIN
125 10.9.8.8 accepted by connect ACL
126 accept: condition test succeeded
127 using ACL "mail"
128 processing "warn"
129 check senders = ok@test3
130 address match: subject=ok@test3 pattern=ok@test3
131 test3 in "test3"? yes (matched "test3")
132 ok@test3 in "ok@test3"? yes (matched "ok@test3")
133 warn: condition test succeeded
134 processing "accept"
135 check senders = ok@test1 : ok@test3
136 address match: subject=ok@test3 pattern=ok@test1
137 test3 in "test1"? no (end of list)
138 address match: subject=ok@test3 pattern=ok@test3
139 test3 in "test3"? yes (matched "test3")
140 ok@test3 in "ok@test1 : ok@test3"? yes (matched "ok@test3")
141 check verify = sender
142 ok in "!bad"? yes (end of list)
143 ----------- end verify ------------
144 sender ok@test3 verified ok
145 check logwrite = :main,reject: mail accepted
146 LOG: MAIN REJECT
147 mail accepted
148 accept: condition test succeeded
149 using ACL "rcpt"
150 processing "accept"
151 check senders = +ok_senders
152 address match: subject=ok@test3 pattern=ok@somewhere
153 test3 in "somewhere"? no (end of list)
154 address match: subject=ok@test3 pattern=ok@test1
155 test3 in "test1"? no (end of list)
156 address match: subject=ok@test3 pattern=ok@test3
157 test3 in "test3"? yes (matched "test3")
158 ok@test3 in "ok@somewhere : ok@test1 : ok@test3"? yes (matched "ok@test3")
159 ok@test3 in "+ok_senders"? yes (matched "+ok_senders")
160 check sender_domains = +ok_sender_domains
161 test3 in "somewhere : test1 : test3"? yes (matched "test3")
162 test3 in "+ok_sender_domains"? yes (matched "+ok_sender_domains")
163 check logwrite = :panic: rcpt accepted
164 LOG: PANIC
165 rcpt accepted
166 accept: condition test succeeded
167 host in ignore_fromline_hosts? no (option unset)
168 >>Headers added by MAIL or RCPT ACL:
169 X-ACL-Warn: added header line
170 >>
171 LOG: MAIN
172 <= ok@test3 H=[10.9.8.8] U=CALLER P=smtp S=sss
173 Exim version x.yz ....
174 configuration file is TESTSUITE/test-config
175 trusted user
176 admin user
177 skipping ACL configuration - not needed
178 x in "!bad"? yes (end of list)
179 LOG: MAIN
180 => x <x@y> R=accept T=appendfile
181 LOG: MAIN
182 Completed
183 >>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
184 LOG: smtp_connection MAIN
185 SMTP connection from CALLER closed by QUIT
186 >>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>