Re: gmx imap failure

2016-02-22 Thread Zaam Wu
a...@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


Re: gmx imap failure

2016-02-15 Thread Adam Sjøgren
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 chainsawAdam Sjøgren
  Division is mine"  a...@koldfront.dk


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


Re: gmx imap failure

2016-02-15 Thread Zaam Wu
a...@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


Re: gmx imap failure

2016-02-15 Thread ZWu
a...@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


Re: gmx imap failure

2016-02-14 Thread Adam Sjøgren
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." a...@koldfront.dk


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


Re: gmx imap failure

2016-02-14 Thread Lars Ingebrigtsen
ZWu  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
___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: gmx imap failure

2016-02-14 Thread Adam Sjøgren
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." a...@koldfront.dk


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


Re: gmx imap failure

2016-02-14 Thread Zhu
Lars Ingebrigtsen  writes:

> Zhu  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!
___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: gmx imap failure

2016-02-14 Thread Zhu
Lars Ingebrigtsen  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!
___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: gmx imap failure

2016-02-14 Thread Zhu

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_em...@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!
___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: gmx imap failure

2016-02-13 Thread Lars Ingebrigtsen
Zhu  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
___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english