Gnus development mailing list
 help / color / mirror / Atom feed
From: Steinar Bang <sb@dod.no>
To: ding@gnus.org
Subject: Re: nnimap with openssl stopping up after connecting in Windows
Date: Fri, 02 Jan 2009 14:37:10 +0100	[thread overview]
Message-ID: <ud4f5ygl5.fsf@dod.no> (raw)
In-Reply-To: <u1vvletv5.fsf@torus.sehlabs.com>

>>>>> "Steven E. Harris" <seh@panix.com>:

> Steinar Bang <sb@dod.no> writes:
>>> I'd like to be more happy about this, but I'm confused.
>> 
>> So am I.  Perhaps we don't have the same problem, even...? :-/

> Perhaps. I'm also not confident that when I shut down this current
> Emacs instance and start up another one the IMAP connections will
> continue working. I'll have more time tonight or over the weekend to
> experiment more.

I tried the openssl binary linked to from here: http://www.openssl.org/related/binaries.html
(the "Win32 OpenSSL v0.9.8i Light").

The idea was that this program may be running as a native win32
application, and may (hopefully) not trigger the LF->CRLF translation
(which, to recap, isn't the actual problem.  The CRCRLF that results
from a CRLF hitting the conversion _is_ the problem (or at least I
think it is)).

It's another shot in the dark, but what the heck.

What I did:
 - I renamed the SUA community openssl executable to openssl_disabled.
 - I verified that I had no openssl in the path.
 - I added C:\OpenSSL\bin to the path.
 - I started a new cmd window, and verified that I now had the openssl
   executable in the path.
 - I ran the command "openssl s_client -connect myhost.dyndns.org:993"
   and verified that it connected to the IMAP server in what looked (to
   me) like a meaningful way
 - I started a new GNU emacs, and ran `M-x gnus-slave' in it, and it was
   less succsessful than the SUA openssl in opening the connection (it
   never said that it was able to open a connection and then timed out,
   like the SUA openssl does).  The " *nnimap* myserver" buffer
   contains: 

Process imap finished

Process imap<1> exited abnormally with code 1

Process imap<2> exited abnormally with code 1

 - Line separations in the " *nnimap* myserver" buffer are 0a, according
   to hexl-mode (ie. LF), and the status line displays "(Unix)" on the
   left side of the line
 - I started `M-x shell RET' and ran the command "openssl s_client
   -connect myhost.dyndns.org:993" and verified that it was able to open
   a connection to the IMAP server
 - I also started `M-x shell RET' on the emacs process running `M-x gnus
   RET' that was started before changing the path, and tried the same
   command, and verified that it had no openssl in its path

So... I know I have the new openssl executable in a way that can be
executed from inside emacs, but I still haven't been able to test if it
behaves nicer than SUA openssl (and presumably also cygwin openssl?) in
the " *nnimap* myhost" buffer.

Could it be that this openssl communicates with cmd.exe in another way
than using stdout and stdin...?

The speculations continue...




  reply	other threads:[~2009-01-02 13:37 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-19 11:56 Vista, secure imap and firewalls? Steinar Bang
2008-11-19 17:37 ` Steinar Bang
2008-11-22 18:44   ` nnimap with openssl stopping up after connecting in Windows (Was: Vista, secure imap and firewalls?) Steinar Bang
2008-11-22 23:37     ` nnimap with openssl stopping up after connecting in Windows Steinar Bang
2008-11-24  9:12       ` Steinar Bang
2008-11-24  1:38     ` Steven E. Harris
2008-11-24 10:09       ` Simon Josefsson
2008-11-24 11:13         ` Steinar Bang
2008-12-11 20:46           ` When and how to look in ' *nnimap* ' buffers? (Was: nnimap with openssl stopping up after connecting in Windows) Steinar Bang
2008-12-21 18:34           ` nnimap with openssl stopping up after connecting in Windows Steinar Bang
2008-12-25  0:26             ` Steinar Bang
2008-12-26 11:21               ` Steinar Bang
2008-12-26 11:27                 ` Steinar Bang
2008-12-26 13:13                   ` Steinar Bang
2008-12-26 14:04                 ` Steven E. Harris
2008-12-26 15:57                   ` Steinar Bang
2008-12-26 17:25                     ` Steinar Bang
2008-12-26 17:40                       ` Steinar Bang
2008-12-31 13:06                         ` Steinar Bang
2009-01-01 18:48                           ` Steinar Bang
2008-12-26 14:12                 ` Steven E. Harris
2008-12-26 15:58                   ` Steinar Bang
2009-01-01 22:23               ` Steven E. Harris
2009-01-02  7:59                 ` Steinar Bang
2009-01-02 13:10                   ` Steven E. Harris
2009-01-02 13:37                     ` Steinar Bang [this message]
2009-01-11 17:30                       ` Steinar Bang
2009-01-11 18:04                         ` Steinar Bang
2009-01-11 21:30                           ` Reiner Steib
2009-01-12  8:41                             ` Steinar Bang
2009-01-12  8:57                               ` Steinar Bang
2009-01-15 12:43                                 ` Steinar Bang
2009-01-12  0:23                           ` Steven E. Harris
2009-01-01 22:35               ` Steven E. Harris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ud4f5ygl5.fsf@dod.no \
    --to=sb@dod.no \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).