httpmail-devel Mailing List for HTTPMail (Page 2)
Status: Beta
Brought to you by:
fuzz
You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(17) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(5) |
Feb
|
Mar
|
Apr
(12) |
May
(16) |
Jun
(9) |
Jul
|
Aug
(1) |
Sep
|
Oct
(3) |
Nov
(10) |
Dec
(1) |
2003 |
Jan
(2) |
Feb
(4) |
Mar
|
Apr
(2) |
May
|
Jun
(1) |
Jul
(1) |
Aug
(6) |
Sep
|
Oct
|
Nov
|
Dec
|
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Dave D. <dav...@ho...> - 2002-11-13 08:02:00
|
Honestly, I don't use the Perl version. And coincidentally, I've been trying to get it to work on OS X 10.2 the last couple days. I've run into a snag with the md5 stuff though, since it doesn't work on 10.2 -- it's broke somehow. I think it may be something to do with gcc3 because I can copy md5.bundle from my 10.1 install into my 10.2 install and it works again. I can send you md5.bundle if you would like. Attached is the up-to-date dav.rb that will work with Ruby 1.6.7 and xmlparser 0.6.5. Dave |
From: Eddie S. <esh...@ya...> - 2002-11-12 20:45:28
|
I have been working to build a Delphi implementation of HTTPMail and have run into a problem deleting a created folder created using MKCOL. Anyone have any tips on deleting created collections? __________________________________________________ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits videos http://launch.yahoo.com/u2 |
From: Dane G. A. <da...@av...> - 2002-11-12 19:56:03
|
Greetings, I've been playing with both the Perl and Ruby implementations on Mac OS 10.2.2 (Jaguar) and had a couple questions I was hoping people on the list might be able to help out with. I'm not very skilled in Perl, and I'd never heard of Ruby before running across it here, but I was able to get the Perl version up and running with only minor heartache :) I had to upgrade the default Mac OS Perl install from 5.6.0 -> 5.8.0, and installed expat. I patched the Perl sources for httpmail as recommended by Rob Nagler (thanks Rob!) and was thrilled when I was able to redirect my mail. However, I've been having some Perl problems, (probably related to Mac OS X and switching networks) and would like to get the Ruby version of httpmail working. I have httpmail 0.3, the XMLParser library 0.6.5, and nqxml 1.1.3p1 (which includes uri.rb). When I run: % ruby dav.rb <myHotmailAddress> <myHotmailPwd> <forwardingaddress> dav.rb:55: undefined method `define_http_method_interface' for Net::HTTP:Class (NameError) Any idea what could be causing this error? I searched around to try to find more info about define_http_method_interface, but only found a couple links from Google, and none of them were helpful. If anyone has suggestions, I'd appreciate hearing them. Also, if I figure out the Perl-related problem, I'll post a how-to for configuring httpmail on Mac OS X. (In a nutshell, the problem is that everything works great . . . until I switch my network settings. I'm running Mac OS 10.2.2 on a Powerbook G4, and have 2 network settings: work and home. When I boot my machine, I can use the Perl version of httpmail just fine . . . until I change my network settings. Once I do that, it won't work any more, even if I change it back to the initial network settings. The only way I know to get things working is to reboot . . . which really isn't acceptable :) I saw a post on the list here about how to use use LWP::Debug qw(+ -conns); in get_httpmail.pl to output debugging messages, but that didn't help me narrow down the problem . . .) This project is great, I'd just like to be able to use it w/o rebooting when I change my network settings, and I'm hoping the Ruby version will be easy to get working correctly. Cheers, Dane Avilla |
From: Rob N. <na...@bi...> - 2002-10-02 19:36:51
|
This patch allows HTTPMailClient to "use strict". It fixes a minor bug in a regex, and I removed some stuff which isn't likely to be used (handled by get_httpmail.pl). Cheers, Rob ---------------------------------------------------------------- Index: HTTPMailClient.pm =================================================================== *** HTTPMailClient.pm 2002/10/01 23:05:25 1.1 --- HTTPMailClient.pm 2002/10/02 18:14:25 1.4 *************** *** 14,26 **** use HTTP::Cookies; use XML::XPath; use XML::XPath::XMLParser; ! #use strict; { ! package RequestAgent; ! @ISA = qw(LWP::UserAgent); ! my $user, $passwd; sub new { --- 14,26 ---- use HTTP::Cookies; use XML::XPath; use XML::XPath::XMLParser; ! use strict; { ! package Mail::HTTPMailClient::RequestAgent; ! @Mail::HTTPMailClient::RequestAgent::ISA = qw(LWP::UserAgent); ! my($user, $passwd); sub new { *************** *** 105,126 **** sub new { ! my $classname = shift; my $self = { ! user => "", ! passwd => "", ! server => "http://services.msn.com/svcs/hotmail/httpmail.asp", ! markread => "no", ! onlynew => "no", ! leave => "no", ! forward => "", ! savefile => "", ! sendmail => "sendmail", }; - - if (-x "/usr/sbin/sendmail") { $cfg{sendmail} = "/usr/sbin/sendmail" } - elsif (-x "/usr/lib/sendmail") { $cfg{sendmail} = "/usr/lib/sendmail" } - bless($self, $classname); return $self; } --- 105,115 ---- sub new { ! my($classname, $server) = @_; my $self = { ! server => $server ! || "http://services.msn.com/svcs/hotmail/httpmail.asp", }; bless($self, $classname); return $self; } *************** *** 130,136 **** my $self = shift; ($self->{user}, $self->{passwd}) = @_; ! $self->{ua} = new RequestAgent; $self->{ua}->cookie_jar(new HTTP::Cookies); $self->{ua}->set_user($self->{user}, $self->{passwd}); --- 119,125 ---- my $self = shift; ($self->{user}, $self->{passwd}) = @_; ! $self->{ua} = new Mail::HTTPMailClient::RequestAgent; $self->{ua}->cookie_jar(new HTTP::Cookies); $self->{ua}->set_user($self->{user}, $self->{passwd}); *************** *** 158,168 **** sub getFolders { my ($self) = @_; ! $req = new HTTP::Request(PROPFIND => $self->{msgfolderroot}); $req->content_type("text/xml"); $req->content($findsubs); ! $res = $self->{ua}->request($req); my $xp = new XML::XPath(xml => $res->content); my @folders; --- 147,157 ---- sub getFolders { my ($self) = @_; ! my $req = new HTTP::Request(PROPFIND => $self->{msgfolderroot}); $req->content_type("text/xml"); $req->content($findsubs); ! my $res = $self->{ua}->request($req); my $xp = new XML::XPath(xml => $res->content); my @folders; *************** *** 184,191 **** sub getMessageHeaders { ! my $self = shift; ! my $curfolder = $self->{inbox}; my @messages; my $req = new HTTP::Request(PROPFIND => $curfolder); --- 173,180 ---- sub getMessageHeaders { ! my($self, $curfolder) = @_; ! $curfolder ||= $self->{inbox}; my @messages; my $req = new HTTP::Request(PROPFIND => $curfolder); *************** *** 208,214 **** $msg->{subject} = $xp->findvalue(".//m:subject", $node); $msg->{size} = $xp->findvalue(".//D:getcontentlength", $node); $msg->{folder} = $curfolder; ! $msg->{href} =~ /$curfolder(.*)$/; $msg->{id} = $1; push @messages, $msg; } --- 197,203 ---- $msg->{subject} = $xp->findvalue(".//m:subject", $node); $msg->{size} = $xp->findvalue(".//D:getcontentlength", $node); $msg->{folder} = $curfolder; ! $msg->{href} =~ /\Q$curfolder\E(.*)$/; $msg->{id} = $1; push @messages, $msg; } |
From: Rob N. <na...@bi...> - 2002-10-01 22:12:12
|
httpmail should work if you apply these patches to libwww libraries. I submitted the patches to li...@pe..., so it probably will be some time before they get into a release. Rob ---------------------------------------------------------------- From: Rob Nagler <na...@bi...> To: li...@pe... Subject: LWP::Authen::Digest patch for multiple authentications Date: Tue, 1 Oct 2002 15:51:17 -0600 httpmail (httpmail.sourceforge.net) needs this patch. hotmail.com reauthenticates with the same user/pass but a different uri (going to passport). The code in LWP::Authen::Digest assumed a re-auth failure only if the user/pass matched. This code adds the uri to the mix. Rob ---------------------------------------------------------------- Index: Digest.pm =================================================================== *** Digest.pm 2002/09/04 17:25:21 1.1 --- Digest.pm 2002/10/01 21:33:57 1.2 *************** *** 66,76 **** my $auth_header = $proxy ? "Proxy-Authorization" : "Authorization"; my $auth_value = "Digest " . join(", ", @pairs); ! # Need to check this isn't a repeated fail! my $r = $response; while ($r) { my $u = $r->request->{digest_user_pass}; ! if ($u && $u->[0] eq $user && $u->[1] eq $pass) { # here we know this failed before $response->header("Client-Warning" => "Credentials for '$user' failed before"); --- 66,78 ---- my $auth_header = $proxy ? "Proxy-Authorization" : "Authorization"; my $auth_value = "Digest " . join(", ", @pairs); ! # Need to check this isn't a repeated fail for this [user, pass, uri] my $r = $response; + my $failed_uri = $r->request->url->as_string; while ($r) { my $u = $r->request->{digest_user_pass}; ! if ($u && $u->[0] eq $user && $u->[1] eq $pass ! && $u->[2] eq $failed_uri) { # here we know this failed before $response->header("Client-Warning" => "Credentials for '$user' failed before"); *************** *** 82,88 **** my $referral = $request->clone; $referral->header($auth_header => $auth_value); # we shouldn't really do this, but... ! $referral->{digest_user_pass} = [$user, $pass]; return $ua->request($referral, $arg, $size, $response); } --- 84,90 ---- my $referral = $request->clone; $referral->header($auth_header => $auth_value); # we shouldn't really do this, but... ! $referral->{digest_user_pass} = [$user, $pass, $failed_uri]; return $ua->request($referral, $arg, $size, $response); } ---------------------------------------------------------------- From: Rob Nagler <na...@bi...> To: li...@pe... Subject: LWP::UserAgent patch for redirects after authentications Date: Tue, 1 Oct 2002 15:58:21 -0600 httpmail (httpmail.sourceforge.net) needs this patch. hotmail.com is fussy about receiving an Authorization: header. Thanks to Frank de Lange for explaining the bug: http://sourceforge.net/mailarchive/forum.php?thread_id=693641&forum_id=2580 Rob ---------------------------------------------------------------- retrieving revision 1.1 retrieving revision 1.2 diff -c -r1.1 -r1.2 *** UserAgent.pm 2002/09/04 17:25:21 1.1 --- UserAgent.pm 2002/10/01 21:35:08 1.2 *************** *** 463,468 **** --- 463,471 ---- $referral->url($referral_uri); $referral->remove_header('Host', 'Cookie'); + # Don't resend authorization unless server asks for it. + $referral->remove_header('Authorization') + unless $response->header('WWW-Authenticate'); return $response unless $self->redirect_ok($referral); |
From: Charles N. <ch...@el...> - 2002-08-18 04:03:48
|
All, =20 I am having some problems with the usage of HTTPMail. Whenever I want to fetch my mail with get_httpmail.pl, I get these messages: Logging in as pou...@ho...... Could not log in at ./get_httpmail.pl line 44 =20 I used the trick described there http://sourceforge.net/mailarchive/message.php?msg_id=3D202006. I also tried to connect manually to http://services.msn.com/svcs/hotmail/httpmail.asp and couldn't using any of my Hotmail accounts. Do you think they changed their protocol since the last release of HTTPMail? =20 I also had a look at the Ruby version. Where can I find uri.rb 4.27 and XMLParser 0.6.1? =20 Many thanks for your help! =20 Charles http://radio.weblogs.com/0111823/ |
From: <Joc...@AC...> - 2002-06-26 19:18:55
|
>>>>> "KW" == kenneth westelinck <ken...@ho...> writes: KW> Hi again, KW> I applied all the changes you suggested and the output is in the attached KW> file. As the proxy server does not require any authentication, I didn't KW> implement these changes. Well, you rather should give Nicolas's or my version of LWP/UserAgent.pm a try, as otherwise you won't get rid of this: Client-Warning: Redirect loop detected KW> So it's still not working :( No question. KW> Is there anyone out there managed to get this client to work? KW> I'm not a perl expert, so be easy on me. KW> Thanks, KW> Kenneth Pls, trust me! Put one of those UserAgent.pm in a place, so that perl can pick it up. "perl -V" will tell you its "@INC" list, this will probably look like: /usr/lib/perl5/5.6.1/i586-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i586-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl by using the env. var. PERL5LIB you are able to extend that list yourself. E.g. put UserAgent.pm in $HOME/perl5/LWP/UserAgent.pm and start get_httpmail.pl like this: env http_proxy=http://your_proxy:your_proxy_port \ PERL5LIB=$HOME/perl5 \ get_httpmail.pl This is really just straight forward, no luck or skills or magical powers needed. In the worst case I can talk you through, if you want to call me. I rather don't have any day-/night-time restrictions. Let me know! Jochen Hayek |
From: kenneth w. <ken...@ho...> - 2002-06-26 17:19:40
|
Hi again, I applied all the changes you suggested and the output is in the attached file. As the proxy server does not require any authentication, I didn't implement these changes. So it's still not working :( Is there anyone out there managed to get this client to work? I'm not a perl expert, so be easy on me. Thanks, Kenneth ----- Original Message ----- From: <Joc...@AC...> To: "kenneth westelinck" <ken...@ho...> Cc: <htt...@li...> Sent: Wednesday, June 26, 2002 3:00 AM Subject: Re: [Httpmail-devel] Could not log in ... > >>>>> "JoHa" == Jochen Hayek writes: > > >>>>> "KW" == kenneth westelinck writes: > > KW> Hi all, > > KW> I was trying to use HTTPMail to receive mail from my hotmail account. > KW> After getting the "Could not log in" error, > KW> I started to nose around in the code > KW> and added some output for the login method in HTTPMailClient.pm . > > JoHa> I actually also added some output for the login method > JoHa> (pls tell me whether you find this useful): > > And this even helped spitting out a lot more: > > ============================================================================ ==== > > httpmail-0.3/perl/get_httpmail.pl > > #*************************************************************************** *** > > + use LWP::Debug qw(+ -conns); > + > use Mail::HTTPMailClient; > > ============================================================================ ==== > > This LWP debug and trace output shows how it's going back and forth quite a while > during the login process, but than ... -- bang: > > It's doing the same > > PROPFIND http://loginnet.passport.com/digest.srf?..... > > twice, and after the second time it comes back with this: > > HTTP/1.1 302 (Found) Redirect to partner. > Connection: close > Date: Wed, 26 Jun 2002 00:56:55 GMT > Via: 1.1 NSVMUC6O > Location: http://law14.oe.hotmail.com/cgi-bin/hmdata/my_...@ho...?&f=6 > Server: Microsoft-IIS/5.0 > Content-Length: 18 > Content-Type: text/html > Client-Date: Wed, 26 Jun 2002 00:56:52 GMT > Client-Response-Num: 1 > Client-Warning: Redirect loop detected > > Fatal Login Error. > > I added this in httpmail-0.3/perl/Mail/HTTPMailClient.pm : > > if(!$res->is_success && 1) { > print "*** response as_string ***\n"; > print $res->as_string,"\n"; > } > > just before this line: > > return 0 if not $res->is_success; > > > Jochen Hayek > |
From: <Joc...@AC...> - 2002-06-26 01:00:57
|
>>>>> "JoHa" == Jochen Hayek writes: >>>>> "KW" == kenneth westelinck writes: KW> Hi all, KW> I was trying to use HTTPMail to receive mail from my hotmail account. KW> After getting the "Could not log in" error, KW> I started to nose around in the code KW> and added some output for the login method in HTTPMailClient.pm . JoHa> I actually also added some output for the login method JoHa> (pls tell me whether you find this useful): And this even helped spitting out a lot more: ================================================================================ httpmail-0.3/perl/get_httpmail.pl #****************************************************************************** + use LWP::Debug qw(+ -conns); + use Mail::HTTPMailClient; ================================================================================ This LWP debug and trace output shows how it's going back and forth quite a while during the login process, but than ... -- bang: It's doing the same PROPFIND http://loginnet.passport.com/digest.srf?..... twice, and after the second time it comes back with this: HTTP/1.1 302 (Found) Redirect to partner. Connection: close Date: Wed, 26 Jun 2002 00:56:55 GMT Via: 1.1 NSVMUC6O Location: http://law14.oe.hotmail.com/cgi-bin/hmdata/my_...@ho...?&f=6 Server: Microsoft-IIS/5.0 Content-Length: 18 Content-Type: text/html Client-Date: Wed, 26 Jun 2002 00:56:52 GMT Client-Response-Num: 1 Client-Warning: Redirect loop detected Fatal Login Error. I added this in httpmail-0.3/perl/Mail/HTTPMailClient.pm : if(!$res->is_success && 1) { print "*** response as_string ***\n"; print $res->as_string,"\n"; } just before this line: return 0 if not $res->is_success; Jochen Hayek |
From: <Joc...@AC...> - 2002-06-25 23:31:17
|
>>>>> "KW" == kenneth westelinck writes: KW> Hi all, KW> I was trying to use HTTPMail to receive mail from my hotmail account. KW> After getting the "Could not log in" error, KW> I started to nose around in the code KW> and added some output for the login method in HTTPMailClient.pm . I actually also added some output for the login method (pls tell me whether you find this useful): httpmail-0.3/perl/Mail/HTTPMailClient.pm $req->content($findinitfolders); + print '*** ',$req->as_string(),"\n" + if 0; + my $res = $self->{ua}->request($req); KW> The error returned by $res->error_as_HTML is the following: KW> Logging in as ken...@ho...... KW> <HTML> KW> <HEAD><TITLE>An Error Occurred</TITLE></HEAD> KW> <BODY> KW> <H1>An Error Occurred</H1> KW> 302 Redirect to partner. KW> </BODY> KW> </HTML> KW> Any ideas what's causing this error? KW> (BTW: I am behind a proxy and I have put the name and port for this proxy in KW> the http_proxy environment variable.) Does your proxy not need authorization?? Mine does, so my "login" now looks like (obviously, this is not the entire patch, but this is, what applies to "login"): ================================================================================ sub login { my $self = shift; ! ($self->{user}, $self->{passwd}, $self->{'Proxy-Authorization'}) = @_; $self->{ua} = new RequestAgent; $self->{ua}->cookie_jar(new HTTP::Cookies); $self->{ua}->set_user($self->{user}, $self->{passwd}); my $req = new HTTP::Request(PROPFIND => $self->{server}); + $req->header( 'Proxy-Authorization' => $self->{'Proxy-Authorization'} ) + if $self->{'Proxy-Authorization'}; $req->content_type("text/xml"); $req->content($findinitfolders); + print '*** ',$req->as_string(),"\n" + if 0; + my $res = $self->{ua}->request($req); return 0 if not $res->is_success; ================================================================================ KW> Thanks in advance for your help. Anybody else interested in the code applying to a proxy with authorization? Did you get any step further? Jochen Hayek |
From: Dave D. <dav...@ho...> - 2002-06-13 12:58:34
|
Try the Ruby version. It works great. Dave ----Original Message Follows---- From: "Joe !" <nix...@ho...> To: htt...@li... Subject: [Httpmail-devel] Info so far... Date: Wed, 12 Jun 2002 19:11:01 -0400 Would somebody be interested in compiling what the list has learned about httpmail so far? I mean, I saw some people mentioning changes in HTTPMailClient.pm and changes they've made, but from what I've read, nobody has a working version yet. So I thought somebody could post what changes they know have made progress. I read one of Uri's last messages and it seems like the more advanced (Perl) programmers are making some progress to figuring out what might work. I don't know what the Administrators list has seen, but it seems like there are some gaps between some messages (I noticed someone sent a message to the Admins mailing list and they replied to this one). This program is so close to working for me, but other than the mailing list, I haven't seen much documentation (please tell me if I'm wrong!). Since people keep updating info on the mailing list, I thought it might be nice to have somewhat of a recap. Anyway, I think this program has great potential, I just don't know how to unleash it. -Joe _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com _______________________________________________________________ Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ _______________________________________________ Httpmail-devel mailing list Htt...@li... https://lists.sourceforge.net/lists/listinfo/httpmail-devel _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com |
From: Joe ! <nix...@ho...> - 2002-06-12 23:11:10
|
Would somebody be interested in compiling what the list has learned about httpmail so far? I mean, I saw some people mentioning changes in HTTPMailClient.pm and changes they've made, but from what I've read, nobody has a working version yet. So I thought somebody could post what changes they know have made progress. I read one of Uri's last messages and it seems like the more advanced (Perl) programmers are making some progress to figuring out what might work. I don't know what the Administrators list has seen, but it seems like there are some gaps between some messages (I noticed someone sent a message to the Admins mailing list and they replied to this one). This program is so close to working for me, but other than the mailing list, I haven't seen much documentation (please tell me if I'm wrong!). Since people keep updating info on the mailing list, I thought it might be nice to have somewhat of a recap. Anyway, I think this program has great potential, I just don't know how to unleash it. -Joe _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com |
From: Korwin S. <sm...@cc...> - 2002-06-03 23:20:52
|
To any who might be interested in a Windows NT service version of httpmail or hotwayd, I have posted such a version on Sourceforge. http://sourceforge.net/projects/hotpop3 I had originally planned to do quite a bit more in terms of updated features and bug fixes to this service but since it has become apparent that I won't have too much time to work on it in the immediate future, I decided to post what I have. HotPOP3 is essentially hotwayd-0.3 with several bug fixes, converted to a Windows NT service (and incidentally converted to C++ *kinda*). Please check it out if you have any interest in such a thing, and if you feel like helping me out on the project I would more then welcome it. Thanks to everyone who helped so far... thanks, korwin |
From: Nicolas H. <ni...@ni...> - 2002-05-16 02:50:36
|
Hi! According to Dave's changes on ruby.pl, I managed to do the same thing with the Perl version, but I had to modify LWP::UserAgent.pl that comes with my release (Win32-ActiveState) of perl. Anyway, by just adding a $referral->remove_header('Authorization', 'Proxy-Authorization'); line, and do a little other fix to make the module retry, it works perfectly! As I think Dave or anyone of you will find a more elegant way to do this, I think that could be interessant for you. I included the modified UserAgent.pm file in attachement, you can see my minor changes at lines 252 and 297-306. Hope that helps. Thanks a lot! Nicolas Hatier ----- Original Message ----- From: "Dave Dunkin" <dav...@ho...> To: <htt...@li...> Sent: Saturday, May 11, 2002 4:49 AM Subject: [Httpmail-devel] ruby version works > I just checked in a version of dav.rb that will let httpmail work with > Ruby 1.6.7. > > Dave > > > _______________________________________________________________ > > Have big pipes? SourceForge.net is looking for download mirrors. We supply > the hardware. You get the recognition. Email Us: ban...@so... > _______________________________________________ > Httpmail-devel mailing list > Htt...@li... > https://lists.sourceforge.net/lists/listinfo/httpmail-devel > |
From: Dave D. <dav...@ho...> - 2002-05-16 01:09:35
|
I just checked in a version of dav.rb that will let httpmail work with Ruby 1.6.7. Dave |
From: Korwin S. <sm...@li...> - 2002-05-08 19:02:11
|
If anyone has any interest I posted the following fixes to Frank's 0.3 (patch) version of hotwayd to the hotwayd message board. (Sorry but the message board ignored my tab stops, oops!) http://sourceforge.net/forum/forum.php?thread_id=677850&forum_id=80217 korwin |
From: Frank de L. <fr...@un...> - 2002-05-04 16:42:56
|
Hi'all, I made a new version of hotwayd (v 0.3), which I submitted to the hotwayd patch area for lack of access to the main upload area (I'm not the official project maintainer, so...). Changes are: > 2002-05-03 > Version 0.3 - Frank de Lange > - Memory allocation errors made the program dump core in many cases. > Fixed there errors. > - Started changing insecure functions to more secure versions (strlcat, > strlcpy, snprintf). Included strlcat and strlcpy source from OpenBSD. > - Program was looping because of authentication errors. Made program > use Authorize: header only on explicit request from server to get > out of those loops... Outlook behaves like this, so this program > should do so as well... > - Made program compile without warnings with -Wall > - Fixed Makefile.in so it includes the xml2 header include directory > This needs the xml2-config program, which should be available on > any box which has libxml2 installed. > - According to RFC 1939, a POP server should be able to handle > the RETR command immideately after entering the TRANSACTION > state. For this to work, we need to do an implicit STAT on the > mail store, otherwise RETR will fail. The STAT will also produce > the needed +OK response. Go to the patch area of the hotwayd project on SourceForge: http://sourceforge.net/tracker/index.php?func=detail&aid=552215&group_id=25479&atid=384446 to read the announcement (nothing more than I put in this message, really), or download the code at: http://sourceforge.net/tracker/download.php?group_id=25479&atid=384446&file_id=22463&aid=552215 (the file should be called 'hotway-0.3.tar.gz', but SF's patch download mechanism messes up filenames...). untar, configure and install (make install works, but it does not (yet) honour the --prefix argument to configure. It will always be installed in /usr/sbin. I just copy the file manually where I want it to be. Oh, another thing. If you want to use hotwayd with fetchmail, you either have to use fetchall or hack the source to use httpmail_retrieve instead of the currently unsupported httpmail_top function. If you don't know what I'm talking about, have a look at commands.c in the tarball (last function in the file). I have an experiment running with a fecthmail-driven hotwayd (fetchmail in daemon mode, 10 minute poll interval) coupled to a spam filter (spamassassin.sf.net). It seems to work OK, as it correctly marks Hotmail's 'member announcements' as spam :-) 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." ] |
From: Frank de L. <fr...@un...> - 2002-05-04 10:55:34
|
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? > > Dave In case you're interested, I made a new version of the hotwayd program which works. I submitted it in the patch area of that project, as I am not the project admin so I do not have write access to the main upload area. It is, however, NOT a patch to the original version, but a complete new version. You can find it here: http://sourceforge.net/tracker/index.php?func=detail&aid=552215&group_id=25479&atid=384446 download link all the way to the bottom: http://sourceforge.net/tracker/download.php?group_id=25479&atid=384446&file_id=22463&aid=552215 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." ] |
From: Korwin S. <sm...@li...> - 2002-05-03 23:53:18
|
okay, never mind... I understand how to authenticate with hotmail now... however I am running into memory allocation issues as well... At 02:03 PM 5/3/2002 -0700, Korwin Smith wrote: >Frank, >Would you care to give any further details into your hack of hotwayd? I am >putting together a w2k service based on hotwayd and am, of course, running >into the same problems as everyone else. I would really like to see what >you have done to get it to work. > >thanks! >korwin > >FROM: Frank de Lange >DATE: 05/03/2002 06:18:02 >SUBJECT: [Httpmail-devel] Re: Hotwayd >On Fri, May 03, 2002 at 12:43:31PM +0200, Uri Yanover wrote: > > > I'm currently trying to teach hotwayd to authenticate only when > asked, and > > to > > the correct realm > > > > Hi, I'm trying to do the same. Any ideas so far? > > > > As to my personal findings, I'd come to notice that > > when authenticating at Passport, Outlook Express > > responds only to the _second_ authentication > > request, which is in the form of a > > WWW-Authorize request, not an Authenticate. In > > addition, Outlook sets a certain cookie > > (MSPPre=<EMAIL: PROTECTED>). > >Outlook only authenticates when explicitly asked to do so. This seems to be >necessary for working with MS's httpmail implementation, since passport.com >gives incorrect results when presented with authentication credits for the >hotmail.com (instead of the passport.com) realm. I think it should refuse >those >authentication tokens, and request new auth for the passport.com realm, but it >doesn't. Instead, it produces a bogus redirect which sends hotwayd (and any >other httpmail implementation which works like it, like the other 'httpmail' >project) in a loop. > >The solution is to make sure hotwayd ONLY authenticates when the last reply >requested to do so. This can be achieved by explicitly clearing the authtoken >before doing anything. I hacked up the source to do so, and it DOES >authenticate and find the folder list, but the program is crashing left and >right on the errrr shall we say shaky memory allocation... Now testing with >efence, to see where the bad stuff happens (all over the place, really) > >Cheers//Frank >-- > WWWWW ________________________ > ## o o\ / Frank de Lange \ > }# \| / \ > \ `--| _/ <Hacker for Hire> \ > `---' \ +31-320-252965 / > \ <EMAIL: PROTECTED> / > `------------------------' > [ "Omnis enim res, quae dando non deficit, dum habetur > et non datur, nondum habetur, quomodo habenda est." ] |
From: Korwin S. <sm...@li...> - 2002-05-03 21:04:21
|
Frank, Would you care to give any further details into your hack of hotwayd? I am putting together a w2k service based on hotwayd and am, of course, running into the same problems as everyone else. I would really like to see what you have done to get it to work. thanks! korwin FROM: Frank de Lange DATE: 05/03/2002 06:18:02 SUBJECT: [Httpmail-devel] Re: Hotwayd On Fri, May 03, 2002 at 12:43:31PM +0200, Uri Yanover wrote: > > I'm currently trying to teach hotwayd to authenticate only when asked, and > to > the correct realm > > Hi, I'm trying to do the same. Any ideas so far? > > As to my personal findings, I'd come to notice that > when authenticating at Passport, Outlook Express > responds only to the _second_ authentication > request, which is in the form of a > WWW-Authorize request, not an Authenticate. In > addition, Outlook sets a certain cookie > (MSPPre=<EMAIL: PROTECTED>). Outlook only authenticates when explicitly asked to do so. This seems to be necessary for working with MS's httpmail implementation, since passport.com gives incorrect results when presented with authentication credits for the hotmail.com (instead of the passport.com) realm. I think it should refuse those authentication tokens, and request new auth for the passport.com realm, but it doesn't. Instead, it produces a bogus redirect which sends hotwayd (and any other httpmail implementation which works like it, like the other 'httpmail' project) in a loop. The solution is to make sure hotwayd ONLY authenticates when the last reply requested to do so. This can be achieved by explicitly clearing the authtoken before doing anything. I hacked up the source to do so, and it DOES authenticate and find the folder list, but the program is crashing left and right on the errrr shall we say shaky memory allocation... Now testing with efence, to see where the bad stuff happens (all over the place, really) Cheers//Frank -- WWWWW ________________________ ## o o\ / Frank de Lange \ }# \| / \ \ `--| _/ <Hacker for Hire> \ `---' \ +31-320-252965 / \ <EMAIL: PROTECTED> / `------------------------' [ "Omnis enim res, quae dando non deficit, dum habetur et non datur, nondum habetur, quomodo habenda est." ] |
From: Frank de L. <fr...@un...> - 2002-05-03 16:41:12
|
On Fri, May 03, 2002 at 12:43:31PM +0200, Uri Yanover wrote: > > I'm currently trying to teach hotwayd to authenticate only when asked, and > to > the correct realm > > Hi, I'm trying to do the same. Any ideas so far? > > As to my personal findings, I'd come to notice that > when authenticating at Passport, Outlook Express > responds only to the _second_ authentication > request, which is in the form of a > WWW-Authorize request, not an Authenticate. In > addition, Outlook sets a certain cookie > (MSPPre=my...@ho...). OK, got it working, but only using dmalloc. And since my glibc/dmalloc combination stumbles over a missing atexit() in glibc (caused by a compiler which does not know how to compile glibc), and my fake atexit() function which I use for these purposes does not cause dmalloc's atexit functions to run (so no logfile is generated, so no report)... Talk about cascading problems... But, the good new is it CAN work. Now only to get it to work without memory problems. The program needs an overhaul anyway, as it is full over potential buffer overruns. Not something I would want to have listening on my machine... If I have the time I will do an audit of the thing (including libghttp, which is in dire need of one), and make a somewhat safer version of it. Don't hold your breath though... 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." ] |
From: Frank de L. <fr...@un...> - 2002-05-03 13:17:47
|
On Fri, May 03, 2002 at 12:43:31PM +0200, Uri Yanover wrote: > > I'm currently trying to teach hotwayd to authenticate only when asked, and > to > the correct realm > > Hi, I'm trying to do the same. Any ideas so far? > > As to my personal findings, I'd come to notice that > when authenticating at Passport, Outlook Express > responds only to the _second_ authentication > request, which is in the form of a > WWW-Authorize request, not an Authenticate. In > addition, Outlook sets a certain cookie > (MSPPre=my...@ho...). Outlook only authenticates when explicitly asked to do so. This seems to be necessary for working with MS's httpmail implementation, since passport.com gives incorrect results when presented with authentication credits for the hotmail.com (instead of the passport.com) realm. I think it should refuse those authentication tokens, and request new auth for the passport.com realm, but it doesn't. Instead, it produces a bogus redirect which sends hotwayd (and any other httpmail implementation which works like it, like the other 'httpmail' project) in a loop. The solution is to make sure hotwayd ONLY authenticates when the last reply requested to do so. This can be achieved by explicitly clearing the authtoken before doing anything. I hacked up the source to do so, and it DOES authenticate and find the folder list, but the program is crashing left and right on the errrr shall we say shaky memory allocation... Now testing with efence, to see where the bad stuff happens (all over the place, really) 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." ] |
From: Uri Y. <ur...@ho...> - 2002-05-03 09:45:01
|
> I'm currently trying to teach hotwayd to authenticate only when asked, and to the correct realm Hi, I'm trying to do the same. Any ideas so far? As to my personal findings, I'd come to notice that when authenticating at Passport, Outlook Express responds only to the _second_ authentication request, which is in the form of a WWW-Authorize request, not an Authenticate. In addition, Outlook sets a certain cookie (MSPPre=my...@ho...). Feel free to contact me through e-mail uriyan_removethis (at) hotmail.com (address scrambled to prevent harvesting) Uri |
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." ] |
From: Dave D. <dav...@ho...> - 2002-05-03 00:07:08
|
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? Dave ----Original Message Follows---- From: Frank de Lange <fr...@un...> To: Dave Dunkin <dav...@ho...> CC: htt...@li... Subject: [Httpmail-devel] Re: Ruby version of httpmail incomplete? Date: Thu, 2 May 2002 23:03:47 +0200 On Thu, May 02, 2002 at 11:33:49AM -0700, Dave Dunkin wrote: > I think I've got it updated so it's to the same point where it was with > 1.6.6. It's now choking on a redirect to "?f=6" which it can't make a valid > URI out of. Well, if httpmail reacts the same as hotwayd, that '?f=6' response is caused by a probably bogus redirect by passport which is produced by entering the passport.com domain with an Authorization: header for the 'hotmail.com' realm. I'm currently trying to teach hotwayd to authenticate only when asked, and to the correct realm. We'll see if it works then... 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." ] _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: ban...@so... _______________________________________________ Httpmail-devel mailing list Htt...@li... https://lists.sourceforge.net/lists/listinfo/httpmail-devel _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com |