1 # dovecot server auth, LOGIN
6 dovecot -F -c DIR/aux-var/TESTNUM.dovecot.conf
12 ### LOGIN/userx/secret
13 exim -odi -bs -oMa 10.0.0.1
18 MAIL FROM:<userx@cus.cam.ac.uk>
19 RCPT TO:<userx@test.ex>
21 Testing authenticated.
25 ### ditto, on two lines from client rather than three; fails
26 ### (not legit; the username & passwd should be suplied separately in response to prompts)
27 # the Exim "plaintext" authenticator is fine with it, but it's outside what we know of the "specification"
28 exim -bs -oMa 10.0.0.1
34 ### ditto, on one line; fails
35 exim -bs -oMa 10.0.0.1
37 AUTH LOGIN dXNlcngAc2VjcmV0
40 ### ditto, a different split of two lines; passes (though not strictly within spec)
41 exim -bs -oMa 10.0.0.1
47 ### LOGIN - cancelled part-way through (returns a fail)
48 exim -bs -oMa 10.0.0.1
57 ### LOGIN (empty username; bad auth) should fail
58 exim -odi -bs -oMa 10.0.0.1
66 ### LOGIN (bad username; bad auth) should fail
67 exim -odi -bs -oMa 10.0.0.1