I am trying to set up Gnus (on Emacs 24.5) on Windows to access Gmail through IMAP and it seems like the connection is choking when it attempt to connect to the IMAP server. (Seems like Gnus is not attempting to send authentication data, either.)
It basically hangs while showing "Opening TLS connection to `imap.googlemail.com'...done" and I will have to Ctrl-G to stop it. (I left it for an hour and still didn't work, either.) For both situations where I tried to use gnutls-cli or openssl, it seems to be hanging in exactly the same places, where it seems to be the server is waiting for the client to talk to it, but Gnus never talks to it.
* OK Gimap ready for requests from e203mb4768837ita
I thought it was something to do with .authfile being encrypted, but it seems like Gnus is not even trying to touch it, and didn't work when I tried it with the plain text outfield.
(setq tls-program '("c:/Progra~2/Git/bin/openssl.exe s_client -connect %h:%p -no_ssl2 -ign_eof -CAfile c:/full/path/to/ca-bundle.crt"))
The odd thing is same configuration works on Linux and Mac on the same network, just Windows machine that's having issues.
(setq gnus-secondary-select-methods
'((nnimap "server"
(nnimap-address "imap.googlemail.com")
(nnimap-server-port 993)
(nnimap-stream ssl)
(nnimap-authinfo-file "~/.authinfo"))))
If there something I can try to fix this, and/or suggestions/insights will be highly appreciated!
Thank you.