1<testcase> 2<info> 3<keywords> 4POP3 5RETR 6HTTP 7HTTP CONNECT 8HTTP proxy 9</keywords> 10</info> 11# 12# Server-side 13<reply> 14 15<connect> 16HTTP/1.1 200 Mighty fine indeed 17pop3: sure hit me 18 19</connect> 20 21# When doing LIST, we get the default list output hard-coded in the test 22# FTP server 23<data> 24From: me@somewhere 25To: fake@nowhere 26 27body 28 29-- 30 yours sincerely 31</data> 32 33<datacheck> 34HTTP/1.1 200 Mighty fine indeed 35pop3: sure hit me 36 37From: me@somewhere 38To: fake@nowhere 39 40body 41 42-- 43 yours sincerely 44</datacheck> 45</reply> 46 47# 48# Client-side 49<client> 50<server> 51pop3 52http-proxy 53</server> 54<features> 55http 56</features> 57 <name> 58POP3 fetch tunneled through HTTP proxy 59 </name> 60 <command> 61pop3://pop.1319:%POP3PORT/1319 -p -x %HOSTIP:%PROXYPORT -u user:secret 62</command> 63</client> 64 65# 66# Verify data after the test has been "shot" 67<verify> 68<strip> 69^User-Agent: 70</strip> 71<protocol> 72CAPA 73USER user 74PASS secret 75RETR 1319 76QUIT 77</protocol> 78<proxy> 79CONNECT pop.1319:%POP3PORT HTTP/1.1 80Host: pop.1319:%POP3PORT 81User-Agent: curl/7.24.0-DEV (i686-pc-linux-gnu) libcurl/7.24.0-DEV OpenSSL/1.0.0e zlib/1.2.3.4 c-ares/1.7.6-DEV libidn/1.23 libssh2/1.4.0_DEV librtmp/2.2e 82 83</proxy> 84</verify> 85</testcase> 86