Subject: Re: bug#7108: 24.0.50; gnus does not connect to IMAP server

From: CHENG Gao <[email-masked]>
Date: Sun, 26 Sep 2010 13:03:13 +0800

*On Sat, 25 Sep 2010 22:32:32 -0600
* Also sprach Christoph <[email-masked]>:

> On 9/25/2010 10:21 PM, Christoph wrote:
>
>> This configuration setup
>>
>> (setq gnus-select-method
>> '(nnimap "gmail"
>> (nnimap-address "imap.gmail.com")
>> (nnimap-stream ssl)
>> (nnimap-server-port 993)
>> (nnimap-authinfo-file "~/.emacs.d/.authinfo")))
>>
>> (setq imap-ssl-program "openssl.exe s_client -ssl3 -quiet -connect %s:%p")
>>
>> works fine in 23.2 to connect to Gmail, but does not work in 24.0.50
>> (rev 10163).
>
> Well...I just updated and rev 101624 actually seems to fix something.
>
> It does however NOT use openssl to connect.
>
> Commenting out
>
> (setq imap-ssl-program "openssl.exe s_client -ssl3 -quiet -connect %s:%p")
>
> and it still works, which is nice, but it seems something is still
> wrong with openssl support.
>
> *Message output*
> Opening TLS connection to `imap.gmail.com'...
> Opening TLS connection with `gnutls-cli -p 993 imap.gmail.com'...done
> Opening TLS connection to `imap.gmail.com'...done
> Saving file c:/Users/Christoph/AppData/Roaming/.newsrc-dribble...
> Wrote c:/Users/Christoph/AppData/Roaming/.newsrc-dribble [2 times]
> ...
>
> Christoph

I think you need to set tls-program.