X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/54c5ebb14ead7439af300e9d7d9d7d2ba29ff32e..600dc06981df5a906125f8442c36056a117412d4:/test/stderr/0021 diff --git a/test/stderr/0021 b/test/stderr/0021 index c1ebc4d0c..e838cb372 100644 --- a/test/stderr/0021 +++ b/test/stderr/0021 @@ -1,4 +1,5 @@ Exim version x.yz .... +Hints DB: configuration file is TESTSUITE/test-config trusted user admin user @@ -13,89 +14,151 @@ 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 "connect" -processing "deny" +processing "deny" (TESTSUITE/test-config 52) check hosts = : 10.9.8.7 +host in ": 10.9.8.7"? + list element: + list element: 10.9.8.7 host in ": 10.9.8.7"? no (end of list) -deny: condition test failed -processing "drop" +deny: condition test failed in ACL "connect" +processing "drop" (TESTSUITE/test-config 53) +l_message: forcibly dropped check hosts = 10.9.8.9 +host in "10.9.8.9"? + list element: 10.9.8.9 host in "10.9.8.9"? no (end of list) -drop: condition test failed -processing "accept" +drop: condition test failed in ACL "connect" +processing "accept" (TESTSUITE/test-config 55) check logwrite = $sender_host_address accepted by connect ACL = 10.9.8.8 accepted by connect ACL LOG: MAIN 10.9.8.8 accepted by connect ACL -accept: condition test succeeded +accept: condition test succeeded in ACL "connect" +end of ACL "connect": ACCEPT +host in hosts_require_helo? + list element: +host in hosts_require_helo? no (end of list) using ACL "mail" -processing "warn" +processing "warn" (TESTSUITE/test-config 63) + message: added header line check senders = ok@test3 -address match: subject=bad@test1 pattern=ok@test3 +bad@test1 in "ok@test3"? + list element: ok@test3 + address match test: subject=bad@test1 pattern=ok@test3 bad@test1 in "ok@test3"? no (end of list) -warn: condition test failed -processing "accept" +warn: condition test failed in ACL "mail" +processing "accept" (TESTSUITE/test-config 65) check senders = ok@test1 : ok@test3 -address match: subject=bad@test1 pattern=ok@test1 -address match: subject=bad@test1 pattern=ok@test3 +bad@test1 in "ok@test1 : ok@test3"? + list element: ok@test1 + address match test: subject=bad@test1 pattern=ok@test1 + list element: ok@test3 + address match test: subject=bad@test1 pattern=ok@test3 bad@test1 in "ok@test1 : ok@test3"? no (end of list) -accept: condition test failed +accept: condition test failed in ACL "mail" end of ACL "mail": implicit DENY LOG: MAIN REJECT H=[10.9.8.8] U=CALLER rejected MAIL +host in hosts_require_helo? + list element: +host in hosts_require_helo? no (end of list) using ACL "mail" -processing "warn" +processing "warn" (TESTSUITE/test-config 63) + message: added header line check senders = ok@test3 -address match: subject=ok@test1 pattern=ok@test3 -test1 in "test3"? no (end of list) +ok@test1 in "ok@test3"? + list element: ok@test3 + address match test: subject=ok@test1 pattern=ok@test3 + test1 in "test3"? + list element: test3 + test1 in "test3"? no (end of list) ok@test1 in "ok@test3"? no (end of list) -warn: condition test failed -processing "accept" +warn: condition test failed in ACL "mail" +processing "accept" (TESTSUITE/test-config 65) check senders = ok@test1 : ok@test3 -address match: subject=ok@test1 pattern=ok@test1 -test1 in "test1"? yes (matched "test1") -ok@test1 in "ok@test1 : ok@test3"? yes (matched "ok@test1") +ok@test1 in "ok@test1 : ok@test3"? + list element: ok@test1 + address match test: subject=ok@test1 pattern=ok@test1 + test1 in "test1"? + list element: test1 + test1 in "test1"? yes (matched "test1") + ok@test1 in "ok@test1 : ok@test3"? yes (matched "ok@test1") check verify = sender -ok in "!bad"? yes (end of list) +ok in local_parts? + list element: !bad +ok in local_parts? yes (end of list) ----------- end verify ------------ sender ok@test1 verified ok -check logwrite = :main,reject: mail accepted +check logwrite = :main,reject: mail accepted "$smtp_command" "$smtp_command_argument" + = :main,reject: mail accepted "mail from:" "" LOG: MAIN REJECT - mail accepted -accept: condition test succeeded + mail accepted "mail from:" "" +accept: condition test succeeded in ACL "mail" +end of ACL "mail": ACCEPT using ACL "rcpt" -processing "accept" +processing "accept" (TESTSUITE/test-config 70) check senders = +ok_senders -address match: subject=ok@test1 pattern=ok@somewhere -test1 in "somewhere"? no (end of list) -address match: subject=ok@test1 pattern=ok@test1 -test1 in "test1"? yes (matched "test1") -ok@test1 in "ok@somewhere : ok@test1 : ok@test3"? yes (matched "ok@test1") -ok@test1 in "+ok_senders"? yes (matched "+ok_senders") +ok@test1 in "+ok_senders"? + list element: +ok_senders + start sublist ok_senders + ok@test1 in "ok@somewhere : ok@test1 : ok@test3"? + ╎list element: ok@somewhere + ╎address match test: subject=ok@test1 pattern=ok@somewhere + ╎test1 in "somewhere"? + ╎ list element: somewhere + ╎test1 in "somewhere"? no (end of list) + ╎list element: ok@test1 + ╎address match test: subject=ok@test1 pattern=ok@test1 + ╎test1 in "test1"? + ╎ list element: test1 + ╎ test1 in "test1"? yes (matched "test1") + ╎ok@test1 in "ok@somewhere : ok@test1 : ok@test3"? yes (matched "ok@test1") + end sublist ok_senders + data from lookup saved for cache for +ok_senders: key 'ok@test1' value 'ok@test1' + ok@test1 in "+ok_senders"? yes (matched "+ok_senders") check sender_domains = +ok_sender_domains -test1 in "somewhere : test1 : test3"? yes (matched "test1") -test1 in "+ok_sender_domains"? yes (matched "+ok_sender_domains") -check logwrite = :panic: rcpt accepted +test1 in "+ok_sender_domains"? + list element: +ok_sender_domains + start sublist ok_sender_domains + test1 in "somewhere : test1 : test3"? + ╎list element: somewhere + ╎list element: test1 + ╎test1 in "somewhere : test1 : test3"? yes (matched "test1") + end sublist ok_sender_domains + test1 in "+ok_sender_domains"? yes (matched "+ok_sender_domains") +check logwrite = :panic: rcpt accepted C=$smtp_command_history + = :panic: rcpt accepted C=MAIL,MAIL,RCPT LOG: PANIC - rcpt accepted -accept: condition test succeeded + rcpt accepted C=MAIL,MAIL,RCPT +accept: condition test succeeded in ACL "rcpt" +end of ACL "rcpt": ACCEPT using ACL "rcpt" -processing "accept" +processing "accept" (TESTSUITE/test-config 70) check senders = +ok_senders -cached yes match for +ok_senders -cached lookup data = NULL -ok@test1 in "+ok_senders"? yes (matched "+ok_senders" - cached) +ok@test1 in "+ok_senders"? + list element: +ok_senders + start sublist ok_senders + cached yes match for +ok_senders + cached lookup data = ok@test1 + ok@test1 in "+ok_senders"? yes (matched "+ok_senders" - cached) check sender_domains = +ok_sender_domains -cached yes match for +ok_sender_domains -test1 in "+ok_sender_domains"? yes (matched "+ok_sender_domains" - cached) -check logwrite = :panic: rcpt accepted +test1 in "+ok_sender_domains"? + list element: +ok_sender_domains + start sublist ok_sender_domains + cached yes match for +ok_sender_domains + test1 in "+ok_sender_domains"? yes (matched "+ok_sender_domains" - cached) +check logwrite = :panic: rcpt accepted C=$smtp_command_history + = :panic: rcpt accepted C=MAIL,MAIL,RCPT,RCPT LOG: PANIC - rcpt accepted -accept: condition test succeeded + rcpt accepted C=MAIL,MAIL,RCPT,RCPT +accept: condition test succeeded in ACL "rcpt" +end of ACL "rcpt": ACCEPT LOG: smtp_connection MAIN - SMTP connection from CALLER closed by QUIT ->>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>> + SMTP connection from CALLER D=qqs closed by QUIT +>>>>>>>>>>>>>>>> Exim pid=p1234 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>> 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 Exim version x.yz .... +Hints DB: configuration file is TESTSUITE/test-config trusted user admin user @@ -110,77 +173,134 @@ 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 "connect" -processing "deny" +processing "deny" (TESTSUITE/test-config 52) check hosts = : 10.9.8.7 +host in ": 10.9.8.7"? + list element: + list element: 10.9.8.7 host in ": 10.9.8.7"? no (end of list) -deny: condition test failed -processing "drop" +deny: condition test failed in ACL "connect" +processing "drop" (TESTSUITE/test-config 53) +l_message: forcibly dropped check hosts = 10.9.8.9 +host in "10.9.8.9"? + list element: 10.9.8.9 host in "10.9.8.9"? no (end of list) -drop: condition test failed -processing "accept" +drop: condition test failed in ACL "connect" +processing "accept" (TESTSUITE/test-config 55) check logwrite = $sender_host_address accepted by connect ACL = 10.9.8.8 accepted by connect ACL LOG: MAIN 10.9.8.8 accepted by connect ACL -accept: condition test succeeded +accept: condition test succeeded in ACL "connect" +end of ACL "connect": ACCEPT +host in hosts_require_helo? + list element: +host in hosts_require_helo? no (end of list) using ACL "mail" -processing "warn" +processing "warn" (TESTSUITE/test-config 63) + message: added header line check senders = ok@test3 -address match: subject=ok@test3 pattern=ok@test3 -test3 in "test3"? yes (matched "test3") -ok@test3 in "ok@test3"? yes (matched "ok@test3") -warn: condition test succeeded -processing "accept" +ok@test3 in "ok@test3"? + list element: ok@test3 + address match test: subject=ok@test3 pattern=ok@test3 + test3 in "test3"? + list element: test3 + test3 in "test3"? yes (matched "test3") + ok@test3 in "ok@test3"? yes (matched "ok@test3") +warn: condition test succeeded in ACL "mail" +processing "accept" (TESTSUITE/test-config 65) check senders = ok@test1 : ok@test3 -address match: subject=ok@test3 pattern=ok@test1 -test3 in "test1"? no (end of list) -address match: subject=ok@test3 pattern=ok@test3 -test3 in "test3"? yes (matched "test3") -ok@test3 in "ok@test1 : ok@test3"? yes (matched "ok@test3") +ok@test3 in "ok@test1 : ok@test3"? + list element: ok@test1 + address match test: subject=ok@test3 pattern=ok@test1 + test3 in "test1"? + list element: test1 + test3 in "test1"? no (end of list) + list element: ok@test3 + address match test: subject=ok@test3 pattern=ok@test3 + test3 in "test3"? + list element: test3 + test3 in "test3"? yes (matched "test3") + ok@test3 in "ok@test1 : ok@test3"? yes (matched "ok@test3") check verify = sender -ok in "!bad"? yes (end of list) +ok in local_parts? + list element: !bad +ok in local_parts? yes (end of list) ----------- end verify ------------ sender ok@test3 verified ok -check logwrite = :main,reject: mail accepted +check logwrite = :main,reject: mail accepted "$smtp_command" "$smtp_command_argument" + = :main,reject: mail accepted "mail from:" "" LOG: MAIN REJECT - mail accepted -accept: condition test succeeded + mail accepted "mail from:" "" +accept: condition test succeeded in ACL "mail" +end of ACL "mail": ACCEPT using ACL "rcpt" -processing "accept" +processing "accept" (TESTSUITE/test-config 70) check senders = +ok_senders -address match: subject=ok@test3 pattern=ok@somewhere -test3 in "somewhere"? no (end of list) -address match: subject=ok@test3 pattern=ok@test1 -test3 in "test1"? no (end of list) -address match: subject=ok@test3 pattern=ok@test3 -test3 in "test3"? yes (matched "test3") -ok@test3 in "ok@somewhere : ok@test1 : ok@test3"? yes (matched "ok@test3") -ok@test3 in "+ok_senders"? yes (matched "+ok_senders") +ok@test3 in "+ok_senders"? + list element: +ok_senders + start sublist ok_senders + ok@test3 in "ok@somewhere : ok@test1 : ok@test3"? + ╎list element: ok@somewhere + ╎address match test: subject=ok@test3 pattern=ok@somewhere + ╎test3 in "somewhere"? + ╎ list element: somewhere + ╎test3 in "somewhere"? no (end of list) + ╎list element: ok@test1 + ╎address match test: subject=ok@test3 pattern=ok@test1 + ╎test3 in "test1"? + ╎ list element: test1 + ╎test3 in "test1"? no (end of list) + ╎list element: ok@test3 + ╎address match test: subject=ok@test3 pattern=ok@test3 + ╎test3 in "test3"? + ╎ list element: test3 + ╎ test3 in "test3"? yes (matched "test3") + ╎ok@test3 in "ok@somewhere : ok@test1 : ok@test3"? yes (matched "ok@test3") + end sublist ok_senders + data from lookup saved for cache for +ok_senders: key 'ok@test3' value 'ok@test3' + ok@test3 in "+ok_senders"? yes (matched "+ok_senders") check sender_domains = +ok_sender_domains -test3 in "somewhere : test1 : test3"? yes (matched "test3") -test3 in "+ok_sender_domains"? yes (matched "+ok_sender_domains") -check logwrite = :panic: rcpt accepted +test3 in "+ok_sender_domains"? + list element: +ok_sender_domains + start sublist ok_sender_domains + test3 in "somewhere : test1 : test3"? + ╎list element: somewhere + ╎list element: test1 + ╎list element: test3 + ╎test3 in "somewhere : test1 : test3"? yes (matched "test3") + end sublist ok_sender_domains + test3 in "+ok_sender_domains"? yes (matched "+ok_sender_domains") +check logwrite = :panic: rcpt accepted C=$smtp_command_history + = :panic: rcpt accepted C=MAIL,RCPT LOG: PANIC - rcpt accepted -accept: condition test succeeded -host in ignore_fromline_hosts? no (option unset) + rcpt accepted C=MAIL,RCPT +accept: condition test succeeded in ACL "rcpt" +end of ACL "rcpt": ACCEPT >>Headers added by MAIL or RCPT ACL: X-ACL-Warn: added header line >> LOG: MAIN <= ok@test3 H=[10.9.8.8] U=CALLER P=smtp S=sss Exim version x.yz .... +Hints DB: configuration file is TESTSUITE/test-config trusted user admin user -skipping ACL configuration - not needed -x in "!bad"? yes (end of list) +dropping to exim gid; retaining priv uid +x in local_parts? + list element: !bad +x in local_parts? yes (end of list) +>>>>>>>>>>>>>>>> Exim pid=p1237 (delivery-local) terminating with rc=0 >>>>>>>>>>>>>>>> LOG: MAIN => x R=accept T=appendfile LOG: MAIN Completed ->>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>> +>>>>>>>>>>>>>>>> Exim pid=p1236 (local-accept-delivery) terminating with rc=0 >>>>>>>>>>>>>>>> LOG: smtp_connection MAIN - SMTP connection from CALLER closed by QUIT ->>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>> + SMTP connection from CALLER D=qqs closed by QUIT +>>>>>>>>>>>>>>>> Exim pid=p1235 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>> +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 +1999-03-02 09:44:33 rcpt accepted C=EHLO,MAIL,RCPT +1999-03-02 09:44:33 10HmaX-000000005vi-0000 no recipients found in headers