Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* gmx imap failure
       [not found] <87oabwzn8s.fsf@zhtux.jiantu.boxes>
@ 2016-02-14  5:04 ` Zhu
  2016-02-14  5:25   ` Lars Ingebrigtsen
  2016-02-14  5:25   ` Zhu
  0 siblings, 2 replies; 13+ messages in thread
From: Zhu @ 2016-02-14  5:04 UTC (permalink / raw)
  To: info-gnus-english

ZWu <zwu@invalid.hide> writes:

I would like to use Gnus retrieving emails:

My config:

(add-to-list 'gnus-secondary-select-methods
	     '(nnimap "gmx"
		      (nnimap-address "imap.gmx.com")
		      (nnimap-server-port 993)
		      (nnimap-stream ssl)
 		      (nnir-search-engine imap)))

Password info is put in: ~/.authinfo.gpg

The imap error:

 ----------------------------------------------------------------
 Connecting to gmx...  Opening nnimap server on gmx...  Server
 nnimap+gmx previously determined to be down; not retrying Opening
 nnimap server on gmx...failed: Unable to contact server gmx:
 Opening connection to imap.gmx.com via tls...  Opening TLS
 connection to `imap.gmx.com'...  Opening TLS connection with
 `gnutls-cli --insecure -p 993 imap.gmx.com'...failed Opening TLS
 connection with `gnutls-cli --insecure -p 993 imap.gmx.com
 --protocols ssl3'...failed Opening TLS connection with `openssl
 s_client -connect imap.gmx.com:993 -no_ssl2 -ign_eof'...failed
 Opening TLS connection to `imap.gmx.com'...failed Unable to open
 server nnimap+gmx due to: Buffer *nnimap imap.gmx.com 993
 *nntpd**-485409 has no process
 -----------------------------------------------------------------

-- 
Hello, world!

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

* Re: gmx imap failure
  2016-02-14  5:04 ` gmx imap failure Zhu
@ 2016-02-14  5:25   ` Lars Ingebrigtsen
  2016-02-14  5:47     ` Zhu
  2016-02-14  5:25   ` Zhu
  1 sibling, 1 reply; 13+ messages in thread
From: Lars Ingebrigtsen @ 2016-02-14  5:25 UTC (permalink / raw)
  To: info-gnus-english

Zhu <zhu@invalid.hide> writes:

> Opening TLS connection with `openssl s_client -connect
> imap.gmx.com:993 -no_ssl2 -ign_eof'...failed Opening TLS connection to
> `imap.gmx.com'

Your Emacs is built without TLS support.  Build it with TLS support.  Or
adjust the tls-program variable so that it's possible to connect to a
server with invalid certificates, which I'm guessing is going on here.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

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

* Re: gmx imap failure
  2016-02-14  5:04 ` gmx imap failure Zhu
  2016-02-14  5:25   ` Lars Ingebrigtsen
@ 2016-02-14  5:25   ` Zhu
  2016-02-14  6:21     ` Lars Ingebrigtsen
                       ` (2 more replies)
  1 sibling, 3 replies; 13+ messages in thread
From: Zhu @ 2016-02-14  5:25 UTC (permalink / raw)
  To: info-gnus-english


Now I have update my GMX email setting, but still NOT working:

;; GMX imap
(add-to-list 'gnus-secondary-select-methods
	     '(nnimap "gmx"
		      (nnimap-address "imap.gmx.com")
		      (nnimap-server-port 993)
		      (nnimap-stream ssl)
		      (nnir-search-engine imap)))
;; GMX smtp
(setq send-mail-function 'smtpmail-send-it
      message-send-mail-function 'smtpmail-send-it
      smtpmail-default-smtp-server "mail.gmx.com"
      smtpmail-smtp-server "mail.gmx.com"
      smtpmail-smtp-service 587
      starttls-use-gnutls t
      starttls-gnutls-program "gnutls-cli"
      starttls-extra-arguments nil
      smtpmail-debug-info t
      smtpmail-debug-verb t)

;; ~/.authinfo.gpg
machine imap.gmx.com login my_email@gmx.com password my_password port 993
machine mail.gmx.com port 587 key nil cert nil

;; Error message
----------------------------------------------------------------------
Opening nnfolder server on archive...done Opening nnimap server on
gmx...  Opening connection to imap.gmx.com via tls...  Opening TLS
connection to `imap.gmx.com'...  Opening TLS connection with
`gnutls-cli --insecure -p 993 imap.gmx.com'...failed Opening TLS
connection with `gnutls-cli --insecure -p 993 imap.gmx.com
--protocols ssl3'...failed Opening TLS connection with `openssl
s_client -connect imap.gmx.com:993 -no_ssl2 -ign_eof'...failed
Opening TLS connection to `imap.gmx.com'...failed Unable to open
server nnimap+gmx due to: Buffer *nnimap imap.gmx.com 993 *nntpd**
has no process Opening nnimap server on gmx...failed:
...
Warning: Opening nnimap server on gmx...failed: ; Server
nnimap+gmx previously determined to be down; not retrying; Opening
nnimap server on gmx...failed: ; Unable to open server nnimap+gmx
due to: Buffer *nnimap imap.gmx.com 993 *nntpd** has no process
---------------------------------------------------------------------

-- 
Hello, world!

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

* Re: gmx imap failure
  2016-02-14  5:25   ` Lars Ingebrigtsen
@ 2016-02-14  5:47     ` Zhu
  0 siblings, 0 replies; 13+ messages in thread
From: Zhu @ 2016-02-14  5:47 UTC (permalink / raw)
  To: info-gnus-english

Lars Ingebrigtsen <larsi@gnus.org> writes:

Lars, many thanks.

>> Opening TLS connection with `openssl s_client -connect
>> imap.gmx.com:993 -no_ssl2 -ign_eof'...failed Opening TLS connection to
>> `imap.gmx.com'
>
> Your Emacs is built without TLS support.
I checked my Emacs installation. It does NOT include TLS support
though gnutls-cli is installed on my system.

Now reinstalling Emacs.
> adjust the tls-program variable so that it's possible to connect to a
> server with invalid certificates
Which is possible tls-program alternative? I am now setting to 'gnutls-cli'.

-- 
Hello, world!

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

* Re: gmx imap failure
  2016-02-14  5:25   ` Zhu
@ 2016-02-14  6:21     ` Lars Ingebrigtsen
  2016-02-14 11:29       ` Zhu
  2016-02-14 14:50     ` Adam Sjøgren
       [not found]     ` <mailman.4627.1455461420.843.info-gnus-english@gnu.org>
  2 siblings, 1 reply; 13+ messages in thread
From: Lars Ingebrigtsen @ 2016-02-14  6:21 UTC (permalink / raw)
  To: info-gnus-english

Zhu <zhu@invalid.hide> writes:

> Opening TLS connection with `gnutls-cli --insecure -p 993
> imap.gmx.com'

Try running this command manualle and see why it fails.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

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

* Re: gmx imap failure
  2016-02-14  6:21     ` Lars Ingebrigtsen
@ 2016-02-14 11:29       ` Zhu
  0 siblings, 0 replies; 13+ messages in thread
From: Zhu @ 2016-02-14 11:29 UTC (permalink / raw)
  To: info-gnus-english

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Zhu <zhu@invalid.hide> writes:
>
>> Opening TLS connection with `gnutls-cli --insecure -p 993
>> imap.gmx.com'
>
> Try running this command manualle and see why it fails.
Emacs reinstalled; configs updated:
-------------------------------config----------------------------------
(add-to-list 'gnus-secondary-select-methods
	     '(nnimap "gmx"
		      (nnimap-address "imap.gmx.com")
		      (nnimap-server-port 993)
		      (nnimap-stream ssl)
		      (nnir-search-engine imap)))
(setq send-mail-function 'smtpmail-send-it
      message-send-mail-function 'smtpmail-send-it
      smtpmail-default-smtp-server "mail.gmx.com"
      smtpmail-smtp-server "mail.gmx.com"
      smtpmail-smtp-service 587)
(setq starttls-use-gnutls t
      starttls-gnutls-program "gnutls-cli"
      starttls-extra-arguments nil)
(setq smtpmail-debug-info t
      smtpmail-debug-verb t)
(setq nntp-authinfo-file
      (nnheader-concat gnus-home-directory "authinfo.gpg"))
(setq nnimap-authinfo-file
      (nnheader-concat gnus-home-directory "authinfo.gpg"))
(setq smtpmail-auth-credentials
      (nnheader-concat gnus-home-directory "authinfo.gpg"))
(setq smtpmail-starttls-credentials
      (nnheader-concat gnus-home-directory "authinfo.gpg"))
----------------------------config end-------------------------

-------error message-------------
Opening nnimap server on gmx...
Opening connection to imap.gmx.com via tls...
Unable to open server nnimap+gmx due to: Failed connect: connection timed out
Opening nnimap server on gmx...failed: 
...
Warning: Opening nnimap server on gmx...failed: ; Server
nnimap+gmx previously determined to be down; not retrying; Opening
nnimap server on gmx...failed: ; Unable to open server nnimap+gmx
due to: Failed connect: connection timed out
-------error end---------------------------

-- 
Hello, world!

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

* Re: gmx imap failure
  2016-02-14  5:25   ` Zhu
  2016-02-14  6:21     ` Lars Ingebrigtsen
@ 2016-02-14 14:50     ` Adam Sjøgren
       [not found]     ` <mailman.4627.1455461420.843.info-gnus-english@gnu.org>
  2 siblings, 0 replies; 13+ messages in thread
From: Adam Sjøgren @ 2016-02-14 14:50 UTC (permalink / raw)
  To: info-gnus-english

Zhu writes:

> (add-to-list 'gnus-secondary-select-methods
> 	     '(nnimap "gmx"
> 		      (nnimap-address "imap.gmx.com")
> 		      (nnimap-server-port 993)
> 		      (nnimap-stream ssl)
> 		      (nnir-search-engine imap)))

[...]

> Opening TLS connection to `imap.gmx.com'... Opening TLS connection
> with `gnutls-cli --insecure -p 993 imap.gmx.com'...failed

What happens if you run this command by hand?

I.e.:

  $ gnutls-cli --insecure -p 993 imap.gmx.com

?


  Best regards,

    Adam

-- 
 "If not actually disgruntled, he was far from being          Adam Sjøgren
  gruntled."                                             asjo@koldfront.dk


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

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

* Re: gmx imap failure
       [not found]     ` <mailman.4627.1455461420.843.info-gnus-english@gnu.org>
@ 2016-02-15  0:43       ` ZWu
  2016-02-15  3:55         ` Lars Ingebrigtsen
                           ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: ZWu @ 2016-02-15  0:43 UTC (permalink / raw)
  To: info-gnus-english

asjo@koldfront.dk (Adam Sjøgren) writes:

> Zhu writes:
>
>> (add-to-list 'gnus-secondary-select-methods
>> 	     '(nnimap "gmx"
>> 		      (nnimap-address "imap.gmx.com")
>> 		      (nnimap-server-port 993)
>> 		      (nnimap-stream ssl)
>> 		      (nnir-search-engine imap)))
>
> [...]
>
>> Opening TLS connection to `imap.gmx.com'... Opening TLS connection
>> with `gnutls-cli --insecure -p 993 imap.gmx.com'...failed
>
> What happens if you run this command by hand?
>
> I.e.:
>
>   $ gnutls-cli --insecure -p 993 imap.gmx.com

The output is like this:

```
$ gnutls-cli --insecure -p 993 imap.gmx.com
Processed 0 CA certificate(s).
Resolving 'imap.gmx.com'...
Connecting to '212.227.17.172:993'...
Cannot connect to 212.227.17.172:993: Connection timed out
Connecting to '212.227.17.188:993'...
```

As you see, running on command line gives `Connection timed out'
as well.
-- 
Hello, world!
_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

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

* Re: gmx imap failure
  2016-02-15  0:43       ` ZWu
@ 2016-02-15  3:55         ` Lars Ingebrigtsen
  2016-02-15  7:20         ` Adam Sjøgren
       [not found]         ` <mailman.4697.1455520827.843.info-gnus-english@gnu.org>
  2 siblings, 0 replies; 13+ messages in thread
From: Lars Ingebrigtsen @ 2016-02-15  3:55 UTC (permalink / raw)
  To: info-gnus-english

ZWu <zwu@invalid.hide> writes:

> As you see, running on command line gives `Connection timed out'
> as well.

If you're trying to talk to a server that doesn't want talk to you,
there is nothing Gnus can do.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

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

* Re: gmx imap failure
  2016-02-15  0:43       ` ZWu
  2016-02-15  3:55         ` Lars Ingebrigtsen
@ 2016-02-15  7:20         ` Adam Sjøgren
       [not found]         ` <mailman.4697.1455520827.843.info-gnus-english@gnu.org>
  2 siblings, 0 replies; 13+ messages in thread
From: Adam Sjøgren @ 2016-02-15  7:20 UTC (permalink / raw)
  To: info-gnus-english

ZWu writes:

> $ gnutls-cli --insecure -p 993 imap.gmx.com
> Processed 0 CA certificate(s).
> Resolving 'imap.gmx.com'...
> Connecting to '212.227.17.172:993'...
> Cannot connect to 212.227.17.172:993: Connection timed out
> Connecting to '212.227.17.188:993'...
> ```
>
> As you see, running on command line gives `Connection timed out'
> as well.

Then that is your problem. When I try, I get a connection:

  $ gnutls-cli --insecure -p 993 imap.gmx.com
  Processed 0 CA certificate(s).
  Resolving 'imap.gmx.com'...
  Connecting to '212.227.17.188:993'...
  - Certificate type: X.509
  - Got a certificate list of 3 certificates.
  - Certificate[0] info:
   - subject `C=US,ST=Pennsylvania,L=Chesterbrook,O=1&1 Mail & Media
     Inc.,CN=imap.gmx.com', [...etc.etc...]
   OK [CAPABILITY IMAP4rev1 CHILDREN ENABLE ID IDLE LIST-EXTENDED
  LIST-STATUS LITERAL+ MOVE NAMESPACE SASL-IR SORT SPECIAL-USE
  THREAD=ORDEREDSUBJECT UIDPLUS UNSELECT WITHIN AUTH=LOGIN AUTH=PLAIN]
  IMAP server ready [...]

  Best regards,

    Adam

-- 
 "If not actually disgruntled, he was far from being          Adam Sjøgren
  gruntled."                                             asjo@koldfront.dk


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

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

* Re: gmx imap failure
       [not found]         ` <mailman.4697.1455520827.843.info-gnus-english@gnu.org>
@ 2016-02-15  8:57           ` Zaam Wu
  2016-02-15 14:32             ` Adam Sjøgren
       [not found]             ` <mailman.4736.1455546746.843.info-gnus-english@gnu.org>
  0 siblings, 2 replies; 13+ messages in thread
From: Zaam Wu @ 2016-02-15  8:57 UTC (permalink / raw)
  To: info-gnus-english

asjo@koldfront.dk (Adam Sjøgren) writes:

> ZWu writes:
>
>> $ gnutls-cli --insecure -p 993 imap.gmx.com
>> Processed 0 CA certificate(s).
>> Resolving 'imap.gmx.com'...
>> Connecting to '212.227.17.172:993'...
>> Cannot connect to 212.227.17.172:993: Connection timed out
>> Connecting to '212.227.17.188:993'...
>> ```
>>
>> As you see, running on command line gives `Connection timed out'
>> as well.
>
> Then that is your problem. When I try, I get a connection:
>
>   $ gnutls-cli --insecure -p 993 imap.gmx.com
>   Processed 0 CA certificate(s).
>   Resolving 'imap.gmx.com'...
>   Connecting to '212.227.17.188:993'...
>   - Certificate type: X.509
>   - Got a certificate list of 3 certificates.
>   - Certificate[0] info:
>    - subject `C=US,ST=Pennsylvania,L=Chesterbrook,O=1&1 Mail & Media
>      Inc.,CN=imap.gmx.com', [...etc.etc...]
>    OK [CAPABILITY IMAP4rev1 CHILDREN ENABLE ID IDLE LIST-EXTENDED
>   LIST-STATUS LITERAL+ MOVE NAMESPACE SASL-IR SORT SPECIAL-USE
>   THREAD=ORDEREDSUBJECT UIDPLUS UNSELECT WITHIN AUTH=LOGIN AUTH=PLAIN]
>   IMAP server ready [...]

That's really weird. I can access to gmx email by browser.

But cannot by gnutls-cli. What's the possible reason?

-- 
你好!
Hello, world!
_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

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

* Re: gmx imap failure
  2016-02-15  8:57           ` Zaam Wu
@ 2016-02-15 14:32             ` Adam Sjøgren
       [not found]             ` <mailman.4736.1455546746.843.info-gnus-english@gnu.org>
  1 sibling, 0 replies; 13+ messages in thread
From: Adam Sjøgren @ 2016-02-15 14:32 UTC (permalink / raw)
  To: info-gnus-english

Zaam writes:

>>   $ gnutls-cli --insecure -p 993 imap.gmx.com
>>   Processed 0 CA certificate(s).
>>   Resolving 'imap.gmx.com'...
>>   Connecting to '212.227.17.188:993'...
>>   - Certificate type: X.509
>>   - Got a certificate list of 3 certificates.

> That's really weird. I can access to gmx email by browser.

Your browser does not use IMAP.

> But cannot by gnutls-cli. What's the possible reason?

It looks like the IMAPS port is firewalled for you. Are you on a
corporate network with strict policies? Can you connect IMAPS on other
servers?


  Best regards,

    Adam

-- 
 "It's my chainsaw                                            Adam Sjøgren
  Division is mine"                                      asjo@koldfront.dk


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

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

* Re: gmx imap failure
       [not found]             ` <mailman.4736.1455546746.843.info-gnus-english@gnu.org>
@ 2016-02-23  5:17               ` Zaam Wu
  0 siblings, 0 replies; 13+ messages in thread
From: Zaam Wu @ 2016-02-23  5:17 UTC (permalink / raw)
  To: info-gnus-english

asjo@koldfront.dk (Adam Sjøgren) writes:

> Zaam writes:
>
>>>   $ gnutls-cli --insecure -p 993 imap.gmx.com
>>>   Processed 0 CA certificate(s).
>>>   Resolving 'imap.gmx.com'...
>>>   Connecting to '212.227.17.188:993'...
>>>   - Certificate type: X.509
>>>   - Got a certificate list of 3 certificates.
>
>> That's really weird. I can access to gmx email by browser.
>
> Your browser does not use IMAP.
See.
>
>> But cannot by gnutls-cli. What's the possible reason?
>
> It looks like the IMAPS port is firewalled for you. Are you on a
> corporate network with strict policies? Can you connect IMAPS on other
> servers?
>
Yeah, I can fetch emails from other imap servers like outlook etc.
>
>   Best regards,
>
>     Adam

-- 
你好!
Hello, world!
_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

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

end of thread, other threads:[~2016-02-23  5:17 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <87oabwzn8s.fsf@zhtux.jiantu.boxes>
2016-02-14  5:04 ` gmx imap failure Zhu
2016-02-14  5:25   ` Lars Ingebrigtsen
2016-02-14  5:47     ` Zhu
2016-02-14  5:25   ` Zhu
2016-02-14  6:21     ` Lars Ingebrigtsen
2016-02-14 11:29       ` Zhu
2016-02-14 14:50     ` Adam Sjøgren
     [not found]     ` <mailman.4627.1455461420.843.info-gnus-english@gnu.org>
2016-02-15  0:43       ` ZWu
2016-02-15  3:55         ` Lars Ingebrigtsen
2016-02-15  7:20         ` Adam Sjøgren
     [not found]         ` <mailman.4697.1455520827.843.info-gnus-english@gnu.org>
2016-02-15  8:57           ` Zaam Wu
2016-02-15 14:32             ` Adam Sjøgren
     [not found]             ` <mailman.4736.1455546746.843.info-gnus-english@gnu.org>
2016-02-23  5:17               ` Zaam Wu

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