Gnus development mailing list
 help / color / mirror / Atom feed
* IMAP won't connect using Cygwin's OpenSSL on Win2K
@ 2002-06-13 13:45 Joseph D. Barillari
  2002-06-13 15:15 ` Simon Josefsson
  2002-06-13 17:11 ` Jaap-Henk Hoepman
  0 siblings, 2 replies; 5+ messages in thread
From: Joseph D. Barillari @ 2002-06-13 13:45 UTC (permalink / raw)


Hi,

I'm in a corporate world this summer, where people use weird OSes like 
Windows 2000. After using Netscape Mail for a week, I realized why I 
switched to clients like Gnus in the first place, and tried to get Gnus 
running. For the record, I'm using Gnus 5.9.0 on GNU Emacs 21.2.1 for 
Windows (both precompiled by GNU).

The following .gnus stanza opens the connection. The dotfile generator at 
my.gnus.org set up the basic .gnus file.

; These are your IMAP settings
 (setq gnus-select-method
        '(nnimap "nslocum"
	(nnimap-list-pattern "*/imap/*")
                (nnimap-server-port 993)
                (nnimap-stream ssl)
))


IMAP works fine over an insecure line (if I comment out
nnimap-server-port and nnimap-stream), but it doesn't work with SSL, hence  
these excerpts from *Messages*:

imap: Connecting to nslocum...
imap: Opening SSL connection with `openssl s_client -ssl3 -connect 
%s:%p'...
imap: Opening SSL connection with `openssl s_client -ssl2 -connect 
%s:%p'...
imap: Opening SSL connection with `s_client -ssl3 -connect %s:%p'...
imap: Opening SSL connection with `s_client -ssl2 -connect %s:%p'...
imap: Opening SSL connection with `nil'...failed
imap: Connecting to nslocum...failed

I have the Cygwin OpenSSL installed, and the Cygwin binaries added to the 
PATH, such that I can type at the command prompt:

Z:\>openssl s_client -ssl3 -connect nslocum:993
<snip excess OpenSSL verbiage>
* OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS AUTH=PLAIN AUTH=LOGIN]...etc.

...and get an IMAP prompt. 

This means that OpenSSL is functioning, but I must not have set up the 
gnus/emacs OpenSSL interface properly. Is there any way of getting more 
verbose *Messages* so I can diagnose the problem?

Thanks,

Joe Barillari






^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: IMAP won't connect using Cygwin's OpenSSL on Win2K
  2002-06-13 13:45 IMAP won't connect using Cygwin's OpenSSL on Win2K Joseph D. Barillari
@ 2002-06-13 15:15 ` Simon Josefsson
  2002-06-13 15:28   ` Joseph D. Barillari
  2002-06-13 17:11 ` Jaap-Henk Hoepman
  1 sibling, 1 reply; 5+ messages in thread
From: Simon Josefsson @ 2002-06-13 15:15 UTC (permalink / raw)
  Cc: ding

"Joseph D. Barillari" <jbarilla@Princeton.EDU> writes:

> This means that OpenSSL is functioning, but I must not have set up the 
> gnus/emacs OpenSSL interface properly. Is there any way of getting more 
> verbose *Messages* so I can diagnose the problem?

Did you install ssl.el?




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: IMAP won't connect using Cygwin's OpenSSL on Win2K
  2002-06-13 15:15 ` Simon Josefsson
@ 2002-06-13 15:28   ` Joseph D. Barillari
  0 siblings, 0 replies; 5+ messages in thread
From: Joseph D. Barillari @ 2002-06-13 15:28 UTC (permalink / raw)
  Cc: ding

On Thu, 13 Jun 2002, Simon Josefsson wrote:

> "Joseph D. Barillari" <jbarilla@Princeton.EDU> writes:
> 
> > This means that OpenSSL is functioning, but I must not have set up the 
> > gnus/emacs OpenSSL interface properly. Is there any way of getting more 
> > verbose *Messages* so I can diagnose the problem?
> 
> Did you install ssl.el?

Whoops. I forgot that the FSF doesn't package crypto stuff with Emacs. 
That fixed it. Thanks.

--Joe




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: IMAP won't connect using Cygwin's OpenSSL on Win2K
  2002-06-13 17:11 ` Jaap-Henk Hoepman
@ 2002-06-13 16:48   ` Joseph D. Barillari
  0 siblings, 0 replies; 5+ messages in thread
From: Joseph D. Barillari @ 2002-06-13 16:48 UTC (permalink / raw)
  Cc: ding

On Thu, 13 Jun 2002, Jaap-Henk Hoepman wrote:

> 
> Hi Joe,
> 
> I'm in a simular situation, using gnus while running XEmacs under Windows
> 2000. I used to run the native windows binary for XEmacs, but this gave me huge
> problmes using external programs like diff, spell, pgp etc. within XEmacs. So i
> switched using the Cygwin binary for XEmacs, and everything works fine
> now. Form your message it's not clear whether you use the cygwin version of
> Emacs (if that exists); if not, upgrading might help.

I'm using the native Windows version of GNU Emacs. I added the Cygwin 
/bin directory to my Windows PATH, so emacs has been able to find the 
utilities it needs -- so far.

Thanks,

--Joe




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: IMAP won't connect using Cygwin's OpenSSL on Win2K
  2002-06-13 13:45 IMAP won't connect using Cygwin's OpenSSL on Win2K Joseph D. Barillari
  2002-06-13 15:15 ` Simon Josefsson
@ 2002-06-13 17:11 ` Jaap-Henk Hoepman
  2002-06-13 16:48   ` Joseph D. Barillari
  1 sibling, 1 reply; 5+ messages in thread
From: Jaap-Henk Hoepman @ 2002-06-13 17:11 UTC (permalink / raw)
  Cc: Joseph D. Barillari


Hi Joe,

I'm in a simular situation, using gnus while running XEmacs under Windows
2000. I used to run the native windows binary for XEmacs, but this gave me huge
problmes using external programs like diff, spell, pgp etc. within XEmacs. So i
switched using the Cygwin binary for XEmacs, and everything works fine
now. Form your message it's not clear whether you use the cygwin version of
Emacs (if that exists); if not, upgrading might help.

Good luck,
Jaap-Henk

On Thu, 13 Jun 2002 15:45:29 +0200 "Joseph D. Barillari" <jbarilla@Princeton.EDU> writes:
> Hi,
> 
> I'm in a corporate world this summer, where people use weird OSes like 
> Windows 2000. After using Netscape Mail for a week, I realized why I 
> switched to clients like Gnus in the first place, and tried to get Gnus 
> running. For the record, I'm using Gnus 5.9.0 on GNU Emacs 21.2.1 for 
> Windows (both precompiled by GNU).
> 
> The following .gnus stanza opens the connection. The dotfile generator
> at 
> my.gnus.org set up the basic .gnus file.
> 
> ; These are your IMAP settings
>  (setq gnus-select-method
>         '(nnimap "nslocum"
> 	(nnimap-list-pattern "*/imap/*")
>                 (nnimap-server-port 993)
>                 (nnimap-stream ssl)
> ))
> 
> 
> IMAP works fine over an insecure line (if I comment out
> nnimap-server-port and nnimap-stream), but it doesn't work with SSL,
> hence  
> these excerpts from *Messages*:
> 
> imap: Connecting to nslocum...
> imap: Opening SSL connection with `openssl s_client -ssl3 -connect 
> %s:%p'...
> imap: Opening SSL connection with `openssl s_client -ssl2 -connect 
> %s:%p'...
> imap: Opening SSL connection with `s_client -ssl3 -connect %s:%p'...
> imap: Opening SSL connection with `s_client -ssl2 -connect %s:%p'...
> imap: Opening SSL connection with `nil'...failed
> imap: Connecting to nslocum...failed
> 
> I have the Cygwin OpenSSL installed, and the Cygwin binaries added to
> the 
> PATH, such that I can type at the command prompt:
> 
> Z:\>openssl s_client -ssl3 -connect nslocum:993
> <snip excess OpenSSL verbiage>
> * OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS AUTH=PLAIN AUTH=LOGIN]...etc.
> 
> ...and get an IMAP prompt. 
> 
> This means that OpenSSL is functioning, but I must not have set up the 
> gnus/emacs OpenSSL interface properly. Is there any way of getting more 
> verbose *Messages* so I can diagnose the problem?
> 
> Thanks,
> 
> Joe Barillari
> 
> 
> 

-- 
Jaap-Henk Hoepman             | Come sail your ships around me
Dept. of Computer Science     | And burn your bridges down
University of Twente          |       Nick Cave - "Ship Song"
Email: hoepman@cs.utwente.nl === WWW: www.cs.utwente.nl/~hoepman
Phone: +31 53 4893795 === Secr: +31 53 4893770 === Fax: +31 53 4894590
PGP ID: 0xF52E26DD  Fingerprint: 1AED DDEB C7F1 DBB3  0556 4732 4217 ABEF




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-06-13 17:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-13 13:45 IMAP won't connect using Cygwin's OpenSSL on Win2K Joseph D. Barillari
2002-06-13 15:15 ` Simon Josefsson
2002-06-13 15:28   ` Joseph D. Barillari
2002-06-13 17:11 ` Jaap-Henk Hoepman
2002-06-13 16:48   ` Joseph D. Barillari

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).