Re: gmx imap failure
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: smtp outlook.com
Lars Ingebrigtsen <la...@gnus.org> writes: > Zaam Wu <zaa...@outlook.com> writes: > >> LU437-SMTP105.smtp.hotmail.com Microsoft ESMTP MAIL Service, Version: >> 8.0.9200.16384 ready at Mon, 15 Feb 2016 00:54:39 -0800 >> >> Process smtpmail connection broken by remote peer > > So it connects fine, but then hangs up. So it probably doesn't want to > talk to you? Do you have the proper login credentials? I am sure my login credentials are right. This is my authinfo.gpg: ``` machine imap-mail.outlook.com login my-m...@outlook.com password my-pass port 993 machine smtp-mail.outlook.com login my-mailoutlook.com password my-pass port 587 ``` After reading this post: http://stackoverflow.com/a/22898098. I add a function to gnus.el: ``` (defun gnutls-available-p () "Function redefined in order not to use built-in GnuTLS support" nil) ``` Now the sending log from *Message* buffer: ``` Sending via mail... Opening TLS connection to `smtp-mail.outlook.com'... Opening TLS connection with `gnutls-cli --insecure -p 587 smtp-mail.outlook.com'...failed Opening TLS connection with `gnutls-cli --insecure -p 587 smtp-mail.outlook.com --protocols ssl3'...failed Opening TLS connection with `openssl s_client -connect smtp-mail.outlook.com:587 -no_ssl2 -ign_eof'...done Opening TLS connection to `smtp-mail.outlook.com'...done network-stream-command: Process smtpmail not running Decrypting /home/zachary/.emacs.d/gnus/authinfo.gpg...done ``` And the trace buffer: ``` Process smtpmail exited abnormally with code 1 ``` -- 你好! 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
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: smtp outlook.com
Lars Ingebrigtsen <la...@gnus.org> writes: > Zaam Wu <zaa...@outlook.com> writes: > >> smtpmail-stream-type 'starttls ;; or `ssl' > > It's not a STARTTLS server, so it should be 'tls. >From the help doc, it should be 'ssh. ```Help doc: This may be either nil (possibly upgraded to STARTTLS if possible), or `starttls' (refuse to send if STARTTLS isn't available), or `plain' (never use STARTTLS), or `ssl' (to use TLS/SSL). ``` > >> If smtpmail-stream-type to `ssl', it looks: >> >> -- smtpmail-stream-type ssl >> Sending via mail... >> gnutls.c: [0] (Emacs) fatal error: An unexpected TLS >> packet was received. gnutls.el: (err=[-15] An unexpected TLS >> packet was received.) boot: (:priority NORMAL :hostname >> smtp-mail.outlook.com :loglevel 0 :min-prime-bits 256 :trustfiles >> (/etc/ssl/certs/ca-certificates.crt) :crlfiles nil :keylist nil >> :verify-flags nil :verify-error nil :callbacks nil) >> gnutls-negotiate: GnuTLS error: #, -15 Quit > > I think this just means that the server closed the connection. > Probably. Connecting to the server works fine for me: > > LU436-SMTP207.smtp.hotmail.com Microsoft ESMTP MAIL Service, Version: > 8.0.9200.16384 ready at Mon, 15 Feb 2016 00:09:39 -0800 Mine is: LU437-SMTP105.smtp.hotmail.com Microsoft ESMTP MAIL Service, Version: 8.0.9200.16384 ready at Mon, 15 Feb 2016 00:54:39 -0800 Process smtpmail connection broken by remote peer -- Hello, world! ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
smtp outlook.com
I can fetch imap email from outlook.com. However, cannot send email through outlook.com. My `gnus.el' excerpt: ``` ;; Outlook imap (add-to-list 'gnus-secondary-select-methods '(nnimap "outlook" (nnimap-address "imap-mail.outlook.com") (nnimap-server-port 993) (nnimap-stream ssl))) ;; Outlook smtp (setq send-mail-function 'smtpmail-send-it message-send-mail-function 'smtpmail-send-it smtpmail-default-smtp-server "smtp-mail.outlook.com" smtpmail-smtp-server "smtp-mail.outlook.com" smtpmail-stream-type 'starttls ;; or `ssl' smtpmail-smtp-service 587) ;; smtp debug (setq smtpmail-debug-info t smtpmail-debug-verb t) ;; starttls (setq starttls-use-gnutls t starttls-gnutls-program "gnutls-cli" starttls-extra-arguments nil) ;; authinfo (setq nntp-authinfo-file (nnheader-concat gnus-home-directory "authinfo.gpg") nnimap-authinfo-file (nnheader-concat gnus-home-directory "authinfo.gpg") smtpmail-auth-credentials (nnheader-concat gnus-home-directory "authinfo.gpg") smtpmail-starttls-credentials (nnheader-concat gnus-home-directory "authinfo.gpg")) ``` My `autinfo.gpg': ``` machine imap-mail.outlook.com login em...@outlook.com password mypass port 993 machine smtp-mail.outlook.com login em...@outlook.com password mypass port 587 ``` Error message: If smtpmail-stream-type to `starttls', it looks: -- smtpmail-stream-type starttls Sending via mail... gnutls.c: [0] (Emacs) fatal error: The TLS connection was non-properly terminated. 550 5.7.3 Requested action aborted; user not authenticated smtpmail-send-command: Process smtpmail not running Quit -- If smtpmail-stream-type to `ssl', it looks: -- smtpmail-stream-type ssl Sending via mail... gnutls.c: [0] (Emacs) fatal error: An unexpected TLS packet was received. gnutls.el: (err=[-15] An unexpected TLS packet was received.) boot: (:priority NORMAL :hostname smtp-mail.outlook.com :loglevel 0 :min-prime-bits 256 :trustfiles (/etc/ssl/certs/ca-certificates.crt) :crlfiles nil :keylist nil :verify-flags nil :verify-error nil :callbacks nil) gnutls-negotiate: GnuTLS error: #, -15 Quit - >From the outlook.com help menu, I can find: ``` Server name: smtp-mail.outlook.com Port: 587 Encryption method: TLS ``` So could any guy help? -- Hello, world! ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english