value return
[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" (TESTSUITE/test-config 50)
17 check hosts = : 10.9.8.7
18 host in ": 10.9.8.7"? no (end of list)
19 deny: condition test failed in ACL "connect"
20 processing "drop" (TESTSUITE/test-config 51)
21 l_message: forcibly dropped
22 check hosts = 10.9.8.9
23 host in "10.9.8.9"? no (end of list)
24 drop: condition test failed in ACL "connect"
25 processing "accept" (TESTSUITE/test-config 53)
26 check logwrite = $sender_host_address accepted by connect ACL
27                = 10.9.8.8 accepted by connect ACL
28 LOG: MAIN
29   10.9.8.8 accepted by connect ACL
30 accept: condition test succeeded in ACL "connect"
31 end of ACL "connect": ACCEPT
32 using ACL "mail"
33 processing "warn" (TESTSUITE/test-config 61)
34   message: added header line
35 check senders = ok@test3
36 address match test: subject=bad@test1 pattern=ok@test3
37 bad@test1 in "ok@test3"? no (end of list)
38 warn: condition test failed in ACL "mail"
39 processing "accept" (TESTSUITE/test-config 63)
40 check senders = ok@test1 : ok@test3
41 address match test: subject=bad@test1 pattern=ok@test1
42 address match test: subject=bad@test1 pattern=ok@test3
43 bad@test1 in "ok@test1 : ok@test3"? no (end of list)
44 accept: condition test failed in ACL "mail"
45 end of ACL "mail": implicit DENY
46 LOG: MAIN REJECT
47   H=[10.9.8.8] U=CALLER rejected MAIL <bad@test1>
48 using ACL "mail"
49 processing "warn" (TESTSUITE/test-config 61)
50   message: added header line
51 check senders = ok@test3
52 address match test: subject=ok@test1 pattern=ok@test3
53 test1 in "test3"? no (end of list)
54 ok@test1 in "ok@test3"? no (end of list)
55 warn: condition test failed in ACL "mail"
56 processing "accept" (TESTSUITE/test-config 63)
57 check senders = ok@test1 : ok@test3
58 address match test: subject=ok@test1 pattern=ok@test1
59 test1 in "test1"? yes (matched "test1")
60 ok@test1 in "ok@test1 : ok@test3"? yes (matched "ok@test1")
61 check verify = sender
62 ok in "!bad"? yes (end of list)
63 ----------- end verify ------------
64 sender ok@test1 verified ok
65 check logwrite = :main,reject: mail accepted "$smtp_command" "$smtp_command_argument"
66                = :main,reject: mail accepted "mail from:<ok@test1>" "<ok@test1>"
67 LOG: MAIN REJECT
68   mail accepted "mail from:<ok@test1>" "<ok@test1>"
69 accept: condition test succeeded in ACL "mail"
70 end of ACL "mail": ACCEPT
71 using ACL "rcpt"
72 processing "accept" (TESTSUITE/test-config 68)
73 check senders = +ok_senders
74 address match test: subject=ok@test1 pattern=ok@somewhere
75 test1 in "somewhere"? no (end of list)
76 address match test: subject=ok@test1 pattern=ok@test1
77 test1 in "test1"? yes (matched "test1")
78 ok@test1 in "ok@somewhere : ok@test1 : ok@test3"? yes (matched "ok@test1")
79 data from lookup saved for cache for +ok_senders: test1
80 ok@test1 in "+ok_senders"? yes (matched "+ok_senders")
81 check sender_domains = +ok_sender_domains
82 test1 in "somewhere : test1 : test3"? yes (matched "test1")
83 test1 in "+ok_sender_domains"? yes (matched "+ok_sender_domains")
84 check logwrite = :panic: rcpt accepted C=$smtp_command_history
85                = :panic: rcpt accepted C=MAIL,MAIL,RCPT
86 LOG: PANIC
87   rcpt accepted C=MAIL,MAIL,RCPT
88 accept: condition test succeeded in ACL "rcpt"
89 end of ACL "rcpt": ACCEPT
90 using ACL "rcpt"
91 processing "accept" (TESTSUITE/test-config 68)
92 check senders = +ok_senders
93 cached yes match for +ok_senders
94 cached lookup data = test1
95 ok@test1 in "+ok_senders"? yes (matched "+ok_senders" - cached)
96 check sender_domains = +ok_sender_domains
97 cached yes match for +ok_sender_domains
98 test1 in "+ok_sender_domains"? yes (matched "+ok_sender_domains" - cached)
99 check logwrite = :panic: rcpt accepted C=$smtp_command_history
100                = :panic: rcpt accepted C=MAIL,MAIL,RCPT,RCPT
101 LOG: PANIC
102   rcpt accepted C=MAIL,MAIL,RCPT,RCPT
103 accept: condition test succeeded in ACL "rcpt"
104 end of ACL "rcpt": ACCEPT
105 LOG: smtp_connection MAIN
106   SMTP connection from CALLER closed by QUIT
107 >>>>>>>>>>>>>>>> Exim pid=pppp (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>
108 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
109 Exim version x.yz ....
110 configuration file is TESTSUITE/test-config
111 trusted user
112 admin user
113 host in hosts_connection_nolog? no (option unset)
114 LOG: smtp_connection MAIN
115   SMTP connection from CALLER
116 host in host_lookup? no (option unset)
117 host in host_reject_connection? no (option unset)
118 host in sender_unqualified_hosts? no (option unset)
119 host in recipient_unqualified_hosts? no (option unset)
120 host in helo_verify_hosts? no (option unset)
121 host in helo_try_verify_hosts? no (option unset)
122 host in helo_accept_junk_hosts? no (option unset)
123 using ACL "connect"
124 processing "deny" (TESTSUITE/test-config 50)
125 check hosts = : 10.9.8.7
126 host in ": 10.9.8.7"? no (end of list)
127 deny: condition test failed in ACL "connect"
128 processing "drop" (TESTSUITE/test-config 51)
129 l_message: forcibly dropped
130 check hosts = 10.9.8.9
131 host in "10.9.8.9"? no (end of list)
132 drop: condition test failed in ACL "connect"
133 processing "accept" (TESTSUITE/test-config 53)
134 check logwrite = $sender_host_address accepted by connect ACL
135                = 10.9.8.8 accepted by connect ACL
136 LOG: MAIN
137   10.9.8.8 accepted by connect ACL
138 accept: condition test succeeded in ACL "connect"
139 end of ACL "connect": ACCEPT
140 using ACL "mail"
141 processing "warn" (TESTSUITE/test-config 61)
142   message: added header line
143 check senders = ok@test3
144 address match test: subject=ok@test3 pattern=ok@test3
145 test3 in "test3"? yes (matched "test3")
146 ok@test3 in "ok@test3"? yes (matched "ok@test3")
147 warn: condition test succeeded in ACL "mail"
148 processing "accept" (TESTSUITE/test-config 63)
149 check senders = ok@test1 : ok@test3
150 address match test: subject=ok@test3 pattern=ok@test1
151 test3 in "test1"? no (end of list)
152 address match test: subject=ok@test3 pattern=ok@test3
153 test3 in "test3"? yes (matched "test3")
154 ok@test3 in "ok@test1 : ok@test3"? yes (matched "ok@test3")
155 check verify = sender
156 ok in "!bad"? yes (end of list)
157 ----------- end verify ------------
158 sender ok@test3 verified ok
159 check logwrite = :main,reject: mail accepted "$smtp_command" "$smtp_command_argument"
160                = :main,reject: mail accepted "mail from:<ok@test3>" "<ok@test3>"
161 LOG: MAIN REJECT
162   mail accepted "mail from:<ok@test3>" "<ok@test3>"
163 accept: condition test succeeded in ACL "mail"
164 end of ACL "mail": ACCEPT
165 using ACL "rcpt"
166 processing "accept" (TESTSUITE/test-config 68)
167 check senders = +ok_senders
168 address match test: subject=ok@test3 pattern=ok@somewhere
169 test3 in "somewhere"? no (end of list)
170 address match test: subject=ok@test3 pattern=ok@test1
171 test3 in "test1"? no (end of list)
172 address match test: subject=ok@test3 pattern=ok@test3
173 test3 in "test3"? yes (matched "test3")
174 ok@test3 in "ok@somewhere : ok@test1 : ok@test3"? yes (matched "ok@test3")
175 data from lookup saved for cache for +ok_senders: test3
176 ok@test3 in "+ok_senders"? yes (matched "+ok_senders")
177 check sender_domains = +ok_sender_domains
178 test3 in "somewhere : test1 : test3"? yes (matched "test3")
179 test3 in "+ok_sender_domains"? yes (matched "+ok_sender_domains")
180 check logwrite = :panic: rcpt accepted C=$smtp_command_history
181                = :panic: rcpt accepted C=MAIL,RCPT
182 LOG: PANIC
183   rcpt accepted C=MAIL,RCPT
184 accept: condition test succeeded in ACL "rcpt"
185 end of ACL "rcpt": ACCEPT
186 >>Headers added by MAIL or RCPT ACL:
187   X-ACL-Warn: added header line
188 >>
189 LOG: MAIN
190   <= ok@test3 H=[10.9.8.8] U=CALLER P=smtp S=sss
191 Exim version x.yz ....
192 configuration file is TESTSUITE/test-config
193 trusted user
194 admin user
195 dropping to exim gid; retaining priv uid
196 x in "!bad"? yes (end of list)
197 LOG: MAIN
198   => x <x@y> R=accept T=appendfile
199 LOG: MAIN
200   Completed
201 >>>>>>>>>>>>>>>> Exim pid=pppp (local-accept-delivery) terminating with rc=0 >>>>>>>>>>>>>>>>
202 LOG: smtp_connection MAIN
203   SMTP connection from CALLER closed by QUIT
204 >>>>>>>>>>>>>>>> Exim pid=pppp (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>
205 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
206 1999-03-02 09:44:33 rcpt accepted C=EHLO,MAIL,RCPT
207 1999-03-02 09:44:33 10HmaX-0005vi-00 10HmaX-0005vi-00 no recipients found in headers