diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2023-01-30 13:31:40 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2023-01-30 13:34:33 +0000 |
commit | 04e5caa9a7e84b2afca642d28096d988cb6802e7 (patch) | |
tree | 47a499d034d1c66151c8d8d38ebfc12a25c00ca2 /test/stderr | |
parent | 9ee30919f807678b0bc9f675dcfa73225b486574 (diff) | |
download | exim4-04e5caa9a7e84b2afca642d28096d988cb6802e7.tar.gz |
Testsuite: dovecot suthenticator testing
Diffstat (limited to 'test/stderr')
-rw-r--r-- | test/stderr/3550 | 61 | ||||
-rw-r--r-- | test/stderr/3551 | 20 |
2 files changed, 81 insertions, 0 deletions
diff --git a/test/stderr/3550 b/test/stderr/3550 new file mode 100644 index 000000000..c8fef7ef3 --- /dev/null +++ b/test/stderr/3550 @@ -0,0 +1,61 @@ +### Lack of attempt to auth +>>> host in hosts_connection_nolog? no (option unset) +>>> host in host_lookup? no (option unset) +>>> host in host_reject_connection? no (option unset) +>>> host in sender_unqualified_hosts? no (option unset) +>>> host in recipient_unqualified_hosts? no (option unset) +>>> 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) +>>> test in helo_lookup_domains? +>>> list element: @ +>>> list element: @[] +>>> test in helo_lookup_domains? no (end of list) +>>> using ACL "check_recipient" +>>> processing "deny" (TESTSUITE/test-config 29) +>>> message: authentication required +>>> check !authenticated = * +>>> deny: condition test succeeded in ACL "check_recipient" +>>> end of ACL "check_recipient": DENY +LOG: H=(test) [10.0.0.2] F=<junk@jink.jonk.test.ex> rejected RCPT <fail_no_auth@test.ex>: authentication required +### PLAIN/userx/secret +### ditto, split over two lines +### Check auth_advertise_hosts no-match +>>> host in hosts_connection_nolog? no (option unset) +>>> host in host_lookup? no (option unset) +>>> host in host_reject_connection? no (option unset) +>>> host in sender_unqualified_hosts? no (option unset) +>>> host in recipient_unqualified_hosts? no (option unset) +>>> 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) +>>> test.host in helo_lookup_domains? +>>> list element: @ +>>> list element: @[] +>>> test.host in helo_lookup_domains? no (end of list) +>>> host in dsn_advertise_hosts? no (option unset) +>>> host in pipelining_advertise_hosts? +>>> list element: * +>>> host in pipelining_advertise_hosts? yes (matched "*") +>>> host in auth_advertise_hosts? +>>> list element: +auth_hosts +>>> host in "10.0.0.1"? +>>> list element: 10.0.0.1 +>>> host in "10.0.0.1"? no (end of list) +>>> list element: !+relay_hosts +>>> host in "10.0.0.4"? +>>> list element: 10.0.0.4 +>>> host in "10.0.0.4"? yes (matched "10.0.0.4") +>>> host in auth_advertise_hosts? no (matched "!+relay_hosts") +>>> host in chunking_advertise_hosts? +>>> host in chunking_advertise_hosts? no (end of list) +### PLAIN (bad auth) should fail +### Shut down dovecot + +******** SERVER ******** +### Lack of attempt to auth +### PLAIN/userx/secret +### ditto, split over two lines +### Check auth_advertise_hosts no-match +### PLAIN (bad auth) should fail +### Shut down dovecot diff --git a/test/stderr/3551 b/test/stderr/3551 new file mode 100644 index 000000000..064d108b7 --- /dev/null +++ b/test/stderr/3551 @@ -0,0 +1,20 @@ +### LOGIN/userx/secret +### ditto, on two lines from client rather than three; fails +### (not legit; the username & passwd should be suplied separately in response to prompts) +### ditto, on one line; fails +### ditto, a different split of two lines; passes (though not strictly within spec) +### LOGIN - cancelled part-way through (returns a fail) +### LOGIN (empty username; bad auth) should fail +### LOGIN (bad username; bad auth) should fail +### Shut down dovecot + +******** SERVER ******** +### LOGIN/userx/secret +### ditto, on two lines from client rather than three; fails +### (not legit; the username & passwd should be suplied separately in response to prompts) +### ditto, on one line; fails +### ditto, a different split of two lines; passes (though not strictly within spec) +### LOGIN - cancelled part-way through (returns a fail) +### LOGIN (empty username; bad auth) should fail +### LOGIN (bad username; bad auth) should fail +### Shut down dovecot |