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