| xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame] | 1 | <testcase> | 
|  | 2 | <info> | 
|  | 3 | <keywords> | 
|  | 4 | POP3 | 
|  | 5 | SASL | 
|  | 6 | SASL AUTH LOGIN | 
|  | 7 | RFC1734 | 
|  | 8 | RFC5034 | 
|  | 9 | </keywords> | 
|  | 10 | </info> | 
|  | 11 |  | 
|  | 12 | # | 
|  | 13 | # Server-side | 
|  | 14 | <reply> | 
|  | 15 | <servercmd> | 
|  | 16 | AUTH LOGIN | 
|  | 17 | REPLY AUTH + VXNlcm5hbWU6 | 
|  | 18 | REPLY dXNlcg== + UGFzc3dvcmQ6 | 
|  | 19 | REPLY c2VjcmV0 +OK Login successful | 
|  | 20 | </servercmd> | 
|  | 21 | <data> | 
|  | 22 | From: me@somewhere | 
|  | 23 | To: fake@nowhere | 
|  | 24 |  | 
|  | 25 | body | 
|  | 26 |  | 
|  | 27 | -- | 
|  | 28 | yours sincerely | 
|  | 29 | </data> | 
|  | 30 | </reply> | 
|  | 31 |  | 
|  | 32 | # | 
|  | 33 | # Client-side | 
|  | 34 | <client> | 
|  | 35 | <server> | 
|  | 36 | pop3 | 
|  | 37 | </server> | 
|  | 38 | <name> | 
|  | 39 | POP3 login authentication | 
|  | 40 | </name> | 
|  | 41 | <command> | 
|  | 42 | pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u user:secret | 
|  | 43 | </command> | 
|  | 44 | </client> | 
|  | 45 |  | 
|  | 46 | # | 
|  | 47 | # Verify data after the test has been "shot" | 
|  | 48 | <verify> | 
|  | 49 | <protocol> | 
|  | 50 | CAPA | 
|  | 51 | AUTH LOGIN | 
|  | 52 | dXNlcg== | 
|  | 53 | c2VjcmV0 | 
|  | 54 | RETR %TESTNUMBER | 
|  | 55 | QUIT | 
|  | 56 | </protocol> | 
|  | 57 | </verify> | 
|  | 58 | </testcase> |