Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: filebat Mark <filebat.mark@gmail.com>
To: info-gnus-english@gnu.org
Subject: Re: Gnus hang, when sending mail from gmail account with gnutls.
Date: Sun, 15 Aug 2010 19:59:10 +0800	[thread overview]
Message-ID: <AANLkTi=j7Q9bC4Q0V87tqyMGL6W2y3XBsnJjoSsJd-o=@mail.gmail.com> (raw)
In-Reply-To: <AANLkTin+Z4YqKFEY3L4rgTcgtY_mUja9B3un2VBRG1eb@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 4911 bytes --]

One more confusing:
- Since I have explicitly configured to use gnutls by (setq
starttls-use-gnutls t), why we have STARTTLS output in the buffer of "*trace
of SMTP seesion".

Regards,
Denny


On Sun, Aug 15, 2010 at 5:59 PM, filebat Mark <filebat.mark@gmail.com>wrote:

> Hi gnusers
>
> I can receive mails of gmail by imap. However, after struggling for several
> days, I still fail to send mail in gnus.
> Would you please help to root cause the problem? My environment: cygwin +
> ntemacs 23.
>
> Below is my gnus related configuration, and ~/.authinfo is correct.
>
> And it hangs with the output of "220 2.0.0 Ready to start TLS", when I try
> to invoke message-send in *Message* mode.
> No problem is found, when manually invoke "gnutls-cli-debug.exe
> www.google.com".
>
> It seems hang at smtpmail.el::smtpmail-via-smtp
> line 672        (if (or (null (car (setq greeting (smtpmail-read-response
> process))))
>
> ;; -------------------------- *trace of SMTP session to smtp.gmail.com--------------------------
> 220 mx.google.com ESMTP v13sm4048733wfv.17
>
> EHLO CNRDZHANGD1L1C
>
> 250-mx.google.com at your service, [222.70.51.13]
>
> 250-SIZE 35651584
>
> 250-8BITMIME
>
> 250-STARTTLS
>
> 250 ENHANCEDSTATUSCODES
>
> STARTTLS
>
> 220 2.0.0 Ready to start TLS
>
> QUIT
>
> ;; -------------------------- gnus configuration --------------------------
> (require 'gnus)
> (setq user-full-name "filebat")
> (setq user-mail-address "filebat.mark@gmail.com")
> (setq gnus-select-method
>       '(nnimap "gmail"
>                (nnimap-address "imap.gmail.com")
>                (nnimap-server-port 993)
>                (nnimap-stream ssl))
>       )
> (setq gnus-startup-file "~/.newsrc"
>       gnus-default-directory "~/Mail/"
>       gnus-home-directory "~/Mail/"
>       gnus-article-save-directory "~/Mail/save/"
>       gnus-kill-files-directory "~/Mail/trash/"
>       gnus-agent-directory "~/Mail/agent/"
>       gnus-cache-directory "~/Mail/cache/"
>       mail-source-directory "~/Mail/incoming/"
>       nnmail-message-id-cache-file "~/Mail/.nnmail-cache"
>       nnml-newsgroups-file "~/Mail/newsgroup"
>       message-directory "~/Mail/"
>       message-auto-save-directory "~/Mail/drafts/")
>
> (setq gnus-save-newsrc-file nil
>       gnus-read-newsrc-file nil
>       gnus-use-dribble-file nil
>       gnus-save-killed-list nil)
>
> (setq gnus-interactive-exit nil) ;; No confirmation when exiting Gnus.
>
> (setq starttls-use-gnutls t)
> (setq send-mail-function 'smtpmail-send-it
>       message-send-mail-function 'smtpmail-send-it
>       smtpmail-starttls-credentials '(("smtp.gmail.com" 587 nil nil))
>       smtpmail-auth-credentials
>       (expand-file-name "~/.authinfo")
>       smtpmail-default-smtp-server "smtp.gmail.com"
>       smtpmail-smtp-server "smtp.gmail.com"
>       smtpmail-smtp-service 587
>       smtpmail-debug-info t)
> (require 'smtpmail)
> ;; -------------------------- gnutls-cli-debug.exe
> --------------------------
> $ gnutls-cli-debug.exe www.google.com
> Resolving 'www.google.com'...
> Connecting to '66.249.89.104:443'...
> Checking for TLS 1.1 support... no
> Checking fallback from TLS 1.1 to... TLS 1.0
> Checking for TLS 1.0 support... yes
> Checking for SSL 3.0 support... yes
> Checking for HTTPS server name... not checked
> Checking for version rollback bug in RSA PMS... no
> Checking for version rollback bug in Client Hello... no
> Checking whether we need to disable TLS 1.0... N/A
> Checking whether the server ignores the RSA PMS version... no
> Checking whether the server can accept Hello Extensions... yes
> Checking whether the server can accept cipher suites not in SSL 3.0 spec...
> yes
> Checking whether the server can accept a bogus TLS record version in the
> client hello... n
> o
> Checking for certificate information... N/A
> Checking for trusted CAs... N/A
> Checking whether the server understands TLS closure alerts... partially
> Checking whether the server supports session resumption... yes
> Checking for export-grade ciphersuite support... no
> Checking RSA-export ciphersuite info... N/A
> Checking for anonymous authentication support... no
> Checking anonymous Diffie-Hellman group info... N/A
> Checking for ephemeral Diffie-Hellman support... no
> Checking ephemeral Diffie-Hellman group info... N/A
> Checking for AES cipher support (TLS extension)... yes
> Checking for 3DES cipher support... yes
> Checking for ARCFOUR 128 cipher support... yes
> Checking for ARCFOUR 40 cipher support... no
> Checking for MD5 MAC support... yes
> Checking for SHA1 MAC support... yes
> Checking for LZO compression support (GnuTLS extension)... no
> Checking for max record size (TLS extension)... no
> Checking for SRP authentication support (TLS extension)... yes
> Checking for OpenPGP authentication support (TLS extension)... no
>
>
> --
> Thanks & Regards
>
> Denny Zhang
>
>


-- 
Thanks & Regards

Denny Zhang

[-- Attachment #1.2: Type: text/html, Size: 6334 bytes --]

[-- Attachment #2: Type: text/plain, Size: 161 bytes --]

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

  reply	other threads:[~2010-08-15 11:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-15  9:59 filebat Mark
2010-08-15 11:59 ` filebat Mark [this message]
2010-08-15 12:11   ` Richard Riley
2010-08-15 13:10     ` filebat Mark

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTi=j7Q9bC4Q0V87tqyMGL6W2y3XBsnJjoSsJd-o=@mail.gmail.com' \
    --to=filebat.mark@gmail.com \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).