Gnus development mailing list
 help / color / mirror / Atom feed
From: Steinar Bang <sb@dod.no>
To: ding@gnus.org
Subject: nnimap with openssl stopping up after connecting in Windows (Was: Vista, secure imap and firewalls?)
Date: Sat, 22 Nov 2008 19:44:03 +0100	[thread overview]
Message-ID: <utz9zd2j0.fsf_-_@dod.no> (raw)
In-Reply-To: <uabbvvcqm.fsf@dod.no>

I'm changing the subject to make the problem issue clearer.

Steven E. Harris have seen the same problem as me 
 nntp://news.gmane.org/gmane.emacs.gnus.general/67236

He has the problem when using Cygwin openssl, I have the problem when
using SUA openssl.  I believe both operates in unix mode, ie. with LF as
the line separator (rather than CRLF).

Basically the first "openssl s_client ..." command succeeds in making
the connection, but then everything just hangs.  It typically looks like
this in the *Messages* buffer:
 Opening nnimap server on myserver...
 imap: Connecting to myserver.dyndns.org...
 imap: Opening SSL connection with `openssl s_client -quiet -ssl3 -connect %s:%p'...done
 Waiting for response from myserver.dyndns.org...done
 Unable to open server nnimap+myserver due to: Process imap not running
 Unable to open server nnimap+myserver, go offline? (y or n) 
 Opening nnimap server on myserver...failed

I tried the GnuWin32 openssl (in the hope that it maybe used CRLF for
line separations) but it didn't even get as far as the SUA one.  It
didn't even succeed in connecting to the server before it frose up.

When running the "openssl s_client -connect" command from a cmd shell
both the SUA and GnuWin32 openssl programs succeeded in connecting to
the IMAP server.

Steven thinks the solution lies in setting the coding system for the
buffer where nnimaps reads the server responses (perhaps to
undecided-unix...?), but he hasn't yet figured out to do it.

Steven?  Perhaps you can jump in with some more detail here?




  reply	other threads:[~2008-11-22 18:44 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   ` Steinar Bang [this message]
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
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=utz9zd2j0.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).