test799 (695B)
1 <testcase> 2 <info> 3 <keywords> 4 IMAP 5 Clear Text 6 SASL AUTH +LOGIN 7 </keywords> 8 </info> 9 10 # 11 # Server-side 12 <reply> 13 <servercmd> 14 AUTH PLAIN 15 REPLY LOGIN A002 OK LOGIN completed 16 </servercmd> 17 <data> 18 From: me@somewhere 19 To: fake@nowhere 20 21 body 22 23 -- 24 yours sincerely 25 </data> 26 </reply> 27 28 # 29 # Client-side 30 <client> 31 <server> 32 imap 33 </server> 34 <name> 35 IMAP with --login-options 'AUTH=+LOGIN' 36 </name> 37 <command> 38 'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u user:secret --login-options AUTH=+LOGIN 39 </command> 40 </client> 41 42 # 43 # Verify data after the test has been "shot" 44 <verify> 45 <protocol> 46 A001 CAPABILITY 47 A002 LOGIN user secret 48 A003 SELECT %TESTNUMBER 49 A004 FETCH 1 BODY[] 50 A005 LOGOUT 51 </protocol> 52 </verify> 53 </testcase>