| <?xml version="1.0" encoding="US-ASCII"?> |
| <testcase> |
| <info> |
| <keywords> |
| POP3 |
| SASL |
| SASL AUTH EXTERNAL |
| RFC1734 |
| RFC4422 |
| RFC5034 |
| </keywords> |
| </info> |
| |
| # Server-side |
| <reply> |
| <servercmd> |
| AUTH EXTERNAL |
| REPLY AUTH + |
| REPLY %b64[user]b64% +OK Login successful |
| </servercmd> |
| <data crlf="yes"> |
| From: me@somewhere |
| To: fake@nowhere |
| |
| body |
| |
| -- |
| yours sincerely |
| </data> |
| </reply> |
| |
| # Client-side |
| <client> |
| <server> |
| pop3 |
| </server> |
| <name> |
| POP3 external authentication |
| </name> |
| <command> |
| 'pop3://user;AUTH=EXTERNAL@%HOSTIP:%POP3PORT/%TESTNUMBER' |
| </command> |
| </client> |
| |
| # Verify data after the test has been "shot" |
| <verify> |
| <protocol crlf="yes"> |
| CAPA |
| AUTH EXTERNAL |
| %b64[user]b64% |
| RETR %TESTNUMBER |
| QUIT |
| </protocol> |
| </verify> |
| </testcase> |