X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/54c5ebb14ead7439af300e9d7d9d7d2ba29ff32e..cd5567b149ce1b810dbc06f521ad480d9be533bd:/test/stderr/0021?ds=inline diff --git a/test/stderr/0021 b/test/stderr/0021 index c1ebc4d0c..4f43e05c9 100644 --- a/test/stderr/0021 +++ b/test/stderr/0021 @@ -16,58 +16,59 @@ using ACL "connect" processing "deny" check hosts = : 10.9.8.7 host in ": 10.9.8.7"? no (end of list) -deny: condition test failed +deny: condition test failed in ACL "connect" processing "drop" check hosts = 10.9.8.9 host in "10.9.8.9"? no (end of list) -drop: condition test failed +drop: condition test failed in ACL "connect" processing "accept" 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" using ACL "mail" processing "warn" check senders = ok@test3 -address match: subject=bad@test1 pattern=ok@test3 +address match test: subject=bad@test1 pattern=ok@test3 bad@test1 in "ok@test3"? no (end of list) -warn: condition test failed +warn: condition test failed in ACL "mail" processing "accept" check senders = ok@test1 : ok@test3 -address match: subject=bad@test1 pattern=ok@test1 -address match: subject=bad@test1 pattern=ok@test3 +address match test: subject=bad@test1 pattern=ok@test1 +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 using ACL "mail" processing "warn" check senders = ok@test3 -address match: subject=ok@test1 pattern=ok@test3 +address match test: subject=ok@test1 pattern=ok@test3 test1 in "test3"? no (end of list) ok@test1 in "ok@test3"? no (end of list) -warn: condition test failed +warn: condition test failed in ACL "mail" processing "accept" check senders = ok@test1 : ok@test3 -address match: subject=ok@test1 pattern=ok@test1 +address match test: subject=ok@test1 pattern=ok@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) ----------- 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" using ACL "rcpt" processing "accept" check senders = +ok_senders -address match: subject=ok@test1 pattern=ok@somewhere +address match test: subject=ok@test1 pattern=ok@somewhere test1 in "somewhere"? no (end of list) -address match: subject=ok@test1 pattern=ok@test1 +address match test: 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") @@ -77,7 +78,7 @@ test1 in "+ok_sender_domains"? yes (matched "+ok_sender_domains") check logwrite = :panic: rcpt accepted LOG: PANIC rcpt accepted -accept: condition test succeeded +accept: condition test succeeded in ACL "rcpt" using ACL "rcpt" processing "accept" check senders = +ok_senders @@ -90,7 +91,7 @@ test1 in "+ok_sender_domains"? yes (matched "+ok_sender_domains" - cached) check logwrite = :panic: rcpt accepted LOG: PANIC rcpt accepted -accept: condition test succeeded +accept: condition test succeeded in ACL "rcpt" LOG: smtp_connection MAIN SMTP connection from CALLER closed by QUIT >>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>> @@ -113,47 +114,48 @@ using ACL "connect" processing "deny" check hosts = : 10.9.8.7 host in ": 10.9.8.7"? no (end of list) -deny: condition test failed +deny: condition test failed in ACL "connect" processing "drop" check hosts = 10.9.8.9 host in "10.9.8.9"? no (end of list) -drop: condition test failed +drop: condition test failed in ACL "connect" processing "accept" 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" using ACL "mail" processing "warn" check senders = ok@test3 -address match: subject=ok@test3 pattern=ok@test3 +address match test: 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 +warn: condition test succeeded in ACL "mail" processing "accept" check senders = ok@test1 : ok@test3 -address match: subject=ok@test3 pattern=ok@test1 +address match test: subject=ok@test3 pattern=ok@test1 test3 in "test1"? no (end of list) -address match: subject=ok@test3 pattern=ok@test3 +address match test: subject=ok@test3 pattern=ok@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) ----------- 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" using ACL "rcpt" processing "accept" check senders = +ok_senders -address match: subject=ok@test3 pattern=ok@somewhere +address match test: subject=ok@test3 pattern=ok@somewhere test3 in "somewhere"? no (end of list) -address match: subject=ok@test3 pattern=ok@test1 +address match test: subject=ok@test3 pattern=ok@test1 test3 in "test1"? no (end of list) -address match: subject=ok@test3 pattern=ok@test3 +address match test: 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") @@ -163,7 +165,7 @@ test3 in "+ok_sender_domains"? yes (matched "+ok_sender_domains") check logwrite = :panic: rcpt accepted LOG: PANIC rcpt accepted -accept: condition test succeeded +accept: condition test succeeded in ACL "rcpt" host in ignore_fromline_hosts? no (option unset) >>Headers added by MAIL or RCPT ACL: X-ACL-Warn: added header line @@ -184,3 +186,5 @@ LOG: MAIN LOG: smtp_connection MAIN SMTP connection from CALLER closed by QUIT >>>>>>>>>>>>>>>> Exim pid=pppp 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