Gnus development mailing list
 help / color / mirror / Atom feed
* starttls for gmail SMTP doesn't start
@ 2012-03-16 21:34 Sebastian P. Luque
  2012-03-22 20:24 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 14+ messages in thread
From: Sebastian P. Luque @ 2012-03-16 21:34 UTC (permalink / raw)
  To: ding

Hi,

With GNU Emacs 23.3.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.8) of
2012-01-29 on trouble, modified by Debian, Gnus v5.13, and this set up
for sending mail via Gmail's SMTP server:

(setq nnimap-authinfo-file "~/.authinfo.gpg"
      send-mail-function 'smtpmail-send-it
      message-send-mail-function 'smtpmail-send-it
      smtpmail-auth-credentials nnimap-authinfo-file
      smtpmail-smtp-service 587
      smtpmail-default-smtp-server "smtp.gmail.com"
      smtpmail-starttls-credentials
      '((smtpmail-default-smtp-server smtpmail-smtp-service nil nil))
      smtpmail-debug-info t
      smtpmail-debug-verb t)

,-----[ C-h v starttls-use-gnutls RET ]
| starttls-use-gnutls is a variable defined in `starttls.el'.
| Its value is t
| 
| Documentation:
| *Whether to use GNUTLS instead of the `starttls' command.
| 
| You can customize this variable.
| 
| This variable was introduced, or its default value was changed, in
| version 22.1 of Emacs.
| 
| [back]
`-----

,-----[ C-h v starttls-gnutls-program RET ]
| starttls-gnutls-program is a variable defined in `starttls.el'.
| Its value is "gnutls-cli"
| 
|   This variable is potentially risky when used as a file local variable.
| 
| Documentation:
| Name of GNUTLS command line tool.
| This program is used when GNUTLS is used, i.e. when
| `starttls-use-gnutls' is non-nil.
| 
| You can customize this variable.
| 
| This variable was introduced, or its default value was changed, in
| version 22.1 of Emacs.
| 
| [back]
`-----

I get this in *Messages*:

---<--------------------cut here---------------start------------------->---
Sending...
Sending via mail...
220 mx.google.com ESMTP wf10sm476861igb.8
250-mx.google.com at your service, [50.71.33.126]
250-SIZE 35882577
250-8BITMIME
250-STARTTLS
250 ENHANCEDSTATUSCODES
530 5.7.0 Must issue a STARTTLS command first. wf10sm476861igb.8
smtpmail-send-it: Sending failed; SMTP protocol error
---<--------------------cut here---------------end--------------------->---

To investigate, I did 'M-x debug-on-entry starttls-open-stream', and
never got the debugger, so I assume the function never got called.  Any
idea what might be going on?

Cheers,

-- 
Seb



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

end of thread, other threads:[~2012-12-23 13:46 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-16 21:34 starttls for gmail SMTP doesn't start Sebastian P. Luque
2012-03-22 20:24 ` Lars Magne Ingebrigtsen
2012-03-27 16:38   ` Seb
2012-03-27 19:37     ` Steinar Bang
2012-10-10 19:39       ` Sebastian P. Luque
2012-10-18 15:35         ` Eric S Fraga
2012-10-20 11:24           ` Sivaram Neelakantan
2012-10-25 18:32             ` Sebastian P. Luque
2012-10-25 19:41               ` Eric S Fraga
2012-10-25 20:38                 ` Sebastian P. Luque
2012-10-27 13:06                   ` Sivaram Neelakantan
2012-12-23 13:46       ` Ted Zlatanov
2012-04-10 19:08     ` Lars Magne Ingebrigtsen
2012-04-10 21:25       ` Reiner Steib

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