perl version oddity
[exim.git] / test / scripts / 3550-dovecot / 3550
1 # dovecot server auth, PLAIN
2 #
3 mkdir DIR/tmp
4 #
5 background
6 dovecot -F -c DIR/aux-var/TESTNUM.dovecot.conf
7 ****
8 sleep 1
9 #
10 #
11 #
12 #
13 ### Lack of attempt to auth
14 exim -bh 10.0.0.2
15 HELO test
16 MAIL FROM:<junk@jink.jonk.test.ex>
17 RCPT TO:<fail_no_auth@test.ex>
18 QUIT
19 ****
20 #
21 ### PLAIN/userx/secret
22 exim -bs -oMa 10.0.0.1
23 EHLO test.host
24 AUTH PLAIN AHVzZXJ4AHNlY3JldA==
25 QUIT
26 ****
27 ### ditto, split over two lines
28 exim -bs -oMa 10.0.0.1
29 EHLO test.host
30 AUTH PLAIN 
31 AHVzZXJ4AHNlY3JldA==
32 QUIT
33 ****
34 #
35 #
36 ### Check auth_advertise_hosts no-match
37 exim -bh 10.0.0.4
38 ehlo test.host
39 quit
40 ****
41 #
42 #
43 ### PLAIN (bad auth)   should fail
44 exim -bs -oMa 10.0.0.1
45 ehlo test.host
46 auth plain AGVzZXJ4AHNlY3JldA==
47 quit
48 ****
49 #
50 #
51 ### Shut down dovecot
52 killdaemon
53 #
54 sudo rm -fr DIR/tmp
55 no_msglog_check