Re: [Httpmail-devel] Re: Ruby version of httpmail incomplete?
Status: Beta
Brought to you by:
fuzz
From: Frank de L. <fr...@un...> - 2002-05-03 00:16:26
|
On Thu, May 02, 2002 at 05:06:52PM -0700, Dave Dunkin wrote: > I've got it to get past the redirect and authentication problems, but I end > up at http://memberservices.passport.com/memberservices.srf?lc=1033&p=&t= > after going through lognnet.passport.com. How does Outlook Express do it? Hmmm, memberservices.passport.com? Outlook Express does not touch that site. It goes like: (a dump from OE, from when it gets the folder list) PROPFIND /cgi-bin/hmdata HTTP/1.1 Depth: 0 Content-Type: text/xml Brief: t User-Agent: Outlook-Express/6.0 (MSIE 6.0; Windows NT 5.1; TmstmpExt) Host: oe.hotmail.com Content-Length: 357 Connection: Keep-Alive Cache-Control: no-cache Authorization: Digest username="ad...@ho...", realm="hotmail.com", qop="auth", algorithm="MD5", uri="/cgi-bin/hmdata", nonce="MTAyMDM2NDQwOTo0ZDFjM2ZkMmZjYjE1NzYxMGIzZzRlOTIzOTYwYzQxNw==", nc=00000001, cnonce="128422bfd35f427967819c20e742bf51", response="74fb7e9664d0223e2206f6e082bd6a35" <?xml version="1.0"?> <D:propfind xmlns:D="DAV:" xmlns:h="http://schemas.microsoft.com/hotmail/" xmlns:hm="urn:schemas:httpmail:"> <D:prop> <h:adbar/> <hm:contacts/> <hm:inbox/> <hm:outbox/> <hm:sendmsg/> <hm:sentitems/> <hm:deleteditems/> <hm:drafts/> <hm:msgfolderroot/> <h:maxpoll/> <h:sig/> </D:prop> </D:propfind>HTTP/1.1 302 Redirected Server: Microsoft-IIS/5.0 Date: Thu, 02 May 2002 18:33:29 GMT P3P:CP="BUS CUR CONo FIN IVDo ONL OUR PHY SAMo TELo" Connection: close Expires: Mon, 01 Jan 1999 00:00:00 GMT Pragma: no-cache Cache-Control: no-cache Content-Type: text/html Location: http://law2.oe.hotmail.com/cgi-bin/hmdata/ad...@ho...? X-Dav-Error: 200 No error HMServer: H: DAV9 V: WIN2K 09.04.50.0031 i D: Apr 18 2002 12:14:38 PROPFIND /cgi-bin/hmdata/ad...@ho...? HTTP/1.1 Depth: 0 Content-Type: text/xml Brief: t User-Agent: Outlook-Express/6.0 (MSIE 6.0; Windows NT 5.1; TmstmpExt) Content-Length: 357 Connection: Keep-Alive Cache-Control: no-cache Host: law2.oe.hotmail.com <?xml version="1.0"?> <D:propfind xmlns:D="DAV:" xmlns:h="http://schemas.microsoft.com/hotmail/" xmlns:hm="urn:schemas:httpmail:"> <D:prop> <h:adbar/> <hm:contacts/> <hm:inbox/> <hm:outbox/> <hm:sendmsg/> <hm:sentitems/> <hm:deleteditems/> <hm:drafts/> <hm:msgfolderroot/> <h:maxpoll/> <h:sig/> </D:prop> </D:propfind>HTTP/1.1 401 Authorization Required Server: Microsoft-IIS/5.0 Date: Thu, 02 May 2002 18:33:30 GMT P3P:CP="BUS CUR CONo FIN IVDo ONL OUR PHY SAMo TELo" Connection: close Content-Type: text/html WWW-Authenticate: Digest realm="hotmail.com", nonce="MTAyMDM2N1QxMDo0YzdjN2QxNmM4YTFkOGM2ZTY3ZWEzYzM5OGU3MDkwNQ==", qop="auth" X-Dav-Error: 401 No email address HMServer: H: LAW2-OE29.law2.internal.hotmail.com V: WIN2K 09.04.50.0031 i D: Apr 18 2002 12:14:38 PROPFIND /cgi-bin/hmdata/ad...@ho...? HTTP/1.1 Depth: 0 Content-Type: text/xml Brief: t User-Agent: Outlook-Express/6.0 (MSIE 6.0; Windows NT 5.1; TmstmpExt) Content-Length: 357 Connection: Keep-Alive Cache-Control: no-cache Host: law2.oe.hotmail.com <?xml version="1.0"?> <D:propfind xmlns:D="DAV:" xmlns:h="http://schemas.microsoft.com/hotmail/" xmlns:hm="urn:schemas:httpmail:"> <D:prop> <h:adbar/> <hm:contacts/> <hm:inbox/> <hm:outbox/> <hm:sendmsg/> <hm:sentitems/> <hm:deleteditems/> <hm:drafts/> <hm:msgfolderroot/> <h:maxpoll/> <h:sig/> </D:prop> </D:propfind>HTTP/1.1 401 Authorization Required Server: Microsoft-IIS/5.0 Date: Thu, 02 May 2002 18:33:30 GMT P3P:CP="BUS CUR CONo FIN IVDo ONL OUR PHY SAMo TELo" Connection: close Content-Type: text/html WWW-Authenticate: Digest realm="hotmail.com", nonce="MTAyMDM2NDQxMTpm3DQxYTdkY2ZjZmMwNWMwMTI3OGQyOTYzZjkzNDFiMg==", qop="auth" X-Dav-Error: 401 No email address HMServer: H: LAW2-OE66.law2.internal.hotmail.com V: WIN2K 09.04.50.0031 i D: Apr 18 2002 12:14:38 PROPFIND /cgi-bin/hmdata/ad...@ho...? HTTP/1.1 Depth: 0 Content-Type: text/xml Brief: t User-Agent: Outlook-Express/6.0 (MSIE 6.0; Windows NT 5.1; TmstmpExt) Content-Length: 357 Authorization: Digest username="ad...@ho...", realm="hotmail.com", qop="auth", algorithm="MD5", uri="/cgi-bin/hmdata/ad...@ho...", nonce="MTAyMDM2NDQxMTpm6DQxYTdkY2ZjZmMwNWMwMTI3OGQyOTYzZjkzNDFiMg==", nc=00000001, cnonce="2c621dc4998cfdde53452c8cce819b7f", response="502d3c84ccbf5a33ff31e915065a243a" Connection: Keep-Alive Cache-Control: no-cache Host: law2.oe.hotmail.com <?xml version="1.0"?> <D:propfind xmlns:D="DAV:" xmlns:h="http://schemas.microsoft.com/hotmail/" xmlns:hm="urn:schemas:httpmail:"> <D:prop> <h:adbar/> <hm:contacts/> <hm:inbox/> <hm:outbox/> <hm:sendmsg/> <hm:sentitems/> <hm:deleteditems/> <hm:drafts/> <hm:msgfolderroot/> <h:maxpoll/> <h:sig/> </D:prop> </D:propfind>HTTP/1.1 302 Redirected Server: Microsoft-IIS/5.0 Date: Thu, 02 May 2002 18:33:31 GMT P3P:CP="BUS CUR CONo FIN IVDo ONL OUR PHY SAMo TELo" Connection: close Expires: Mon, 01 Jan 1999 00:00:00 GMT Pragma: no-cache Cache-Control: no-cache Content-Type: text/html Location: http://loginnet.passport.com/digest.srf?_lang=EN&lc=1033&fs=1&ct=1020364411&tw=1296000&id=2&kv=0&ru=http%3a%2f%2flaw2%2eoe%2ehotmail%2ecom%2fcgi%2dbin%2fhmdata%2faddress%40hotmail%2ecom%3f&log=1 X-Dav-Error: 200 No error HMServer: H: LAW2-OE60 V: WIN2K 09.04.50.0031 i D: Apr 18 2002 12:14:38 PROPFIND /digest.srf?_lang=EN&lc=1033&fs=1&ct=1020364411&tw=1296000&id=2&kv=0&ru=http%3a%2f%2flaw2%2eoe%2ehotmail%2ecom%2fcgi%2dbin%2fhmdata%2faddress%40hotmail%2ecom%3f&log=1 HTTP/1.1 Depth: 0 Content-Type: text/xml Brief: t User-Agent: Outlook-Express/6.0 (MSIE 6.0; Windows NT 5.1; TmstmpExt) Content-Length: 357 Host: loginnet.passport.com Connection: Keep-Alive Cache-Control: no-cache <?xml version="1.0"?> <D:propfind xmlns:D="DAV:" xmlns:h="http://schemas.microsoft.com/hotmail/" xmlns:hm="urn:schemas:httpmail:"> <D:prop> <h:adbar/> <hm:contacts/> <hm:inbox/> <hm:outbox/> <hm:sendmsg/> <hm:sentitems/> <hm:deleteditems/> <hm:drafts/> <hm:msgfolderroot/> <h:maxpoll/> <h:sig/> </D:prop> </D:propfind>HTTP/1.1 401 Unauthorized Server: Microsoft-IIS/5.0 Date: Thu, 02 May 2002 18:33:32 GMT Connection: close Content-Length: 0 Content-Type: text/html WWW-Authenticate: Digest realm="Microsoft Passport", qop="auth", algorithm="MD5", nonce="MTAyMDM2NDQxMjpN4NU3zZ5N2wFNYFEn4UFy", opaque="03a1475e092074b14b2586f10" PROPFIND /digest.srf?_lang=EN&lc=1033&fs=1&ct=1020364411&tw=1296000&id=2&kv=0&ru=http%3a%2f%2flaw2%2eoe%2ehotmail%2ecom%2fcgi%2dbin%2fhmdata%2faddress%40hotmail%2ecom%3f&log=1 HTTP/1.1 Depth: 0 Content-Type: text/xml Brief: t User-Agent: Outlook-Express/6.0 (MSIE 6.0; Windows NT 5.1; TmstmpExt) Content-Length: 357 Host: loginnet.passport.com Connection: Keep-Alive Cache-Control: no-cache <?xml version="1.0"?> <D:propfind xmlns:D="DAV:" xmlns:h="http://schemas.microsoft.com/hotmail/" xmlns:hm="urn:schemas:httpmail:"> <D:prop> <h:adbar/> <hm:contacts/> <hm:inbox/> <hm:outbox/> <hm:sendmsg/> <hm:sentitems/> <hm:deleteditems/> <hm:drafts/> <hm:msgfolderroot/> <h:maxpoll/> <h:sig/> </D:prop> </D:propfind>HTTP/1.1 401 Unauthorized Server: Microsoft-IIS/5.0 Date: Thu, 02 May 2002 18:33:32 GMT Connection: close Content-Length: 0 Content-Type: text/html WWW-Authenticate: Digest realm="Microsoft Passport", qop="auth", algorithm="MD5", nonce="MTAyMDM2NDQxMzo1hHw*R3NptZAZ9FzyDGnF", opaque="03a1475e092074b14b2586f10" PROPFIND /digest.srf?_lang=EN&lc=1033&fs=1&ct=1020364411&tw=1296000&id=2&kv=0&ru=http%3a%2f%2flaw2%2eoe%2ehotmail%2ecom%2fcgi%2dbin%2fhmdata%2faddress%40hotmail%2ecom%3f&log=1 HTTP/1.1 Depth: 0 Content-Type: text/xml Brief: t User-Agent: Outlook-Express/6.0 (MSIE 6.0; Windows NT 5.1; TmstmpExt) Content-Length: 357 Host: loginnet.passport.com Connection: Keep-Alive Cache-Control: no-cache Authorization: Digest username="ad...@ho...", realm="Microsoft Passport", qop="auth", algorithm="MD5", uri="/digest.srf", nonce="MTAyMDM2NDQxMzo1hHw*R3NptZAZ9FzyD1nF", nc=00000001, cnonce="e3f61d1227557b5d3cae5774d0069e1c", opaque="03a1475e092074b14b2583f10", response="7a3ca0546d298cede6390b11f40cc3df" <?xml version="1.0"?> <D:propfind xmlns:D="DAV:" xmlns:h="http://schemas.microsoft.com/hotmail/" xmlns:hm="urn:schemas:httpmail:"> <D:prop> <h:adbar/> <hm:contacts/> <hm:inbox/> <hm:outbox/> <hm:sendmsg/> <hm:sentitems/> <hm:deleteditems/> <hm:drafts/> <hm:msgfolderroot/> <h:maxpoll/> <h:sig/> </D:prop> </D:propfind>HTTP/1.1 302 Redirect to partner Server: Microsoft-IIS/5.0 Date: Thu, 02 May 2002 18:33:33 GMT Connection: close Content-Length: 17 Content-Type: text/html Location: http://law2.oe.hotmail.com/cgi-bin/hmdata/ad...@ho...?&p=2a8yI07ojFqUgs54vJMm9s7w4BHVbXKMZ1ISPEBgy!TH4ud!1v7PTj9WWrmCrY9JWwar7ke4jIcq8XHT2gctnjGjzMYXPfRAPsd8Anz8bnkwGx1gIJzQhnuGFjZrnVgTbJPE3BUOGblAZAYWnOSX0jk!ymhMwFpzVJ0EoiHAiev9GellOulXwxNhJBJLoFr0bajl41!TpnZao$&t=2a8yI07ojDtg39p5cM3*i*PTZMVLg19D20ek!G0wmoVBjwEGvNcy9mPabTA!SWCacffBpsiUXYJ5Kw5GsPqDpQQA$$ Login Successful.PROPFIND /cgi-bin/hmdata/ad...@ho...?&p=2a8yI07ojFqUgs54vJMm9s7w4BHVbXKMZ1ISPEBgy!TH4ud!Gv7PTj9WWrmCrY9JWwar7ke4jI3q8XHT2gctnjGjzMYXPfRAPsd8Anz8bnkwGx1gIJzQhnuGFjZrnVgTbJPE3BUOGblAZAYWnOSX0jk!ymhMwFpzVJ0EoiHAiev9GellOulXwxNhJBJLoFr0bajl41!TpnZao$&t=2a8yI07ojDtg39p5cM3*i*PTZMVLg19D20ek!G0wmoVBjwEGvNcy9mPabTA!SWCacffBpsiUXYJ5Kw5GsPqDpQQA$$ HTTP/1.1 Depth: 0 Content-Type: text/xml Brief: t User-Agent: Outlook-Express/6.0 (MSIE 6.0; Windows NT 5.1; TmstmpExt) Content-Length: 357 Authorization: Digest username="ad...@ho...", realm="hotmail.com", qop="auth", algorithm="MD5", uri="/cgi-bin/hmdata/ad...@ho...", nonce="MTAyMDM2NDQxMTpmODQxYTdkY21jZmMwNWMwMTI3OGQyOTYzZjkzNDFiMg==", nc=00000002, cnonce="9956aaa192df0ea828a6d1f67a5b7cf6", response="1250472a119cc6cda2c46260aba42fcc" Connection: Keep-Alive Cache-Control: no-cache Host: law2.oe.hotmail.com <?xml version="1.0"?> <D:propfind xmlns:D="DAV:" xmlns:h="http://schemas.microsoft.com/hotmail/" xmlns:hm="urn:schemas:httpmail:"> <D:prop> <h:adbar/> <hm:contacts/> <hm:inbox/> <hm:outbox/> <hm:sendmsg/> <hm:sentitems/> <hm:deleteditems/> <hm:drafts/> <hm:msgfolderroot/> <h:maxpoll/> <h:sig/> </D:prop> </D:propfind>HTTP/1.1 207 Multi-Status Server: Microsoft-IIS/5.0 Date: Thu, 02 May 2002 18:33:34 GMT P3P:CP="BUS CUR CONo FIN IVDo ONL OUR PHY SAMo TELo" Connection: close Set-Cookie: MSPAuth=2a8yI07ojDtg39p5cM3%2ai%2aPTZMVL119D20ek%21G0wmoVBjwEGvNcy9mPabTA%21SWCacffBpsiUXYJ5Kw5GsPqDpQQA%24%24; domain=.hotmail.com; path=/cgi-bin/hmdata/ad...@ho... Set-Cookie: MSPProf=2a8yI07ojFqUgs54vJMm9s7w4BHVbXKMZ1ISPEBgy%21TH4ud%21Gv7PTj9WWrmCrY9JWwar7ke4jIcq8XHT2gctnjGjzMYXPfRAPsd8Anz8bnkwGx1gIJzQhnuGFjZrnVgTbJPE3BUOGblAZAYWnOSX0jk%21ymhMwFpzVJ0EoiHAiev9GellOulXwxNhJBJLoFr0bajl41%21TpnZao%24; domain=.hotmail.com; path=/cgi-bin/hmdata/ad...@ho... Set-Cookie: OE_Useraddress_hotmail.com=1020450814; domain=.hotmail.com; path=/ Set-Cookie: HMSC0899=223address%40hotmail%2ecom%21t%2aASVVqP6sdzIa3A9ZSZzd5mQ%21knu4eB3Vs26slsXhdgvUD%21nDEWSGhlVRnGxvjX8X6tG7AR%21nMmEGeho4VE1EzhWW3m5fhJQzFAT9IMUAIatPtJWpmAfOmVDT4H8kkYPgLIVzcCkjYZV%21aTVVLHsdIeufgnir%2atQUpwHxPdHJ7%2ailBSibT8DBAAkTa65jx3oesQ%210mYYQ4PaU3QtoypoZ5Yy8tjbn8fqNQviqdjJSNExPoUtGnjHuGvFDHh8RR1ugK8PWK7ZPEGjQG%216x6OPSq0JZnpDoLb8oj0UrM%21FFVBMfAgRR%2apddf1a8IV2l5FHkQr1LF2EY53F1EE6ZhzDPB%2a%21yB6vA7; domain=.hotmail.com; path=/cgi-bin/hmdata/ad...@ho... Content-Length: 1590 Expires: Mon, 01 Jan 1999 00:00:00 GMT Pragma: no-cache Cache-Control: no-cache Content-Type: text/xml X-Timestamp: folders=1020351812, ACTIVE=1020361120 X-Dav-Error: 200 No error HMServer: H: LAW2-OE33.law2.internal.hotmail.com V: WIN2K 09.04.50.0031 i D: Apr 18 2002 12:14:38 <?xml version="1.0" encoding="Windows-1252"?> <D:multistatus xmlns:D="DAV:" xmlns:m="urn:schemas:mailheader:" xmlns:hm="urn:schemas:httpmail:" xmlns:c="urn:schemas:contacts:" xmlns:h="http://schemas.microsoft.com/hotmail/"> <D:response> <D:href>http://law2.oe.hotmail.com/cgi-bin/hmdata/ad...@ho.../</D:href> <D:wchref>http://law2.oe.hotmail.com/cgi-bin/wc_maint</D:wchref> <D:sohref>http://law2.oe.hotmail.com/cgi-bin/somaintain</D:sohref> <D:propstat> <D:prop> <h:adbar>AdPane=Off*AdSvr=H*Other=GetAd?PG=HOTOEB?SC=LG?TF=_BLANK?HM=043d2a54165b5a5857272553026b68034d65091025150b47555d5f480d25441f246b</h:adbar> <hm:contacts>http://law2.oe.hotmail.com/cgi-bin/hmdata/ad...@ho.../abdata/</hm:contacts> <hm:inbox>http://law2.oe.hotmail.com/cgi-bin/hmdata/ad...@ho.../folders/ACTIVE/</hm:inbox> <hm:sendmsg>http://law2.oe.hotmail.com/cgi-bin/hmdata/ad...@ho.../folders/sendmsg/</hm:sendmsg> <hm:sentitems>http://law2.oe.hotmail.com/cgi-bin/hmdata/ad...@ho.../folders/sAVeD/</hm:sentitems> <hm:deleteditems>http://law2.oe.hotmail.com/cgi-bin/hmdata/ad...@ho.../folders/trAsH/</hm:deleteditems> <hm:msgfolderroot>http://law2.oe.hotmail.com/cgi-bin/hmdata/ad...@ho.../folders/</hm:msgfolderroot> <h:maxpoll>30</h:maxpoll> <h:sig><br clear=all><hr>MSN Photos is the easiest way to share and print your photos: <a href='http://g.msn.com/1HM100901/157'>Click Here</a><br> </h:sig> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat> </D:response> </D:multistatus> In other news, I got hotwayd to authenticate and get the folder list. It now chokes on all kinds of double free() problems etc. It is *not* a very well written program I'm afraid... But, that can be changed... Cheers//Frank -- WWWWW ________________________ ## o o\ / Frank de Lange \ }# \| / \ \ `--| _/ <Hacker for Hire> \ `---' \ +31-320-252965 / \ fr...@un... / `------------------------' [ "Omnis enim res, quae dando non deficit, dum habetur et non datur, nondum habetur, quomodo habenda est." ] |