Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: "parmenides" <mobile.parmenides@gmail.com>
To: info-gnus-english@gnu.org
Subject: smtp's failure due to starttls
Date: Mon, 9 Mar 2009 14:19:43 +0800	[thread overview]
Message-ID: <gp2cds$i1t$1@adenine.netfront.net> (raw)

Hi,

I configured gnus to be the client of gmail, and tried to send email over 
smtp.
The '~/.gnus' is as follows:

(setq gnus-select-method '(nntp "news.cn99.com"))
(setq user-full-name "Parmenides")
(setq user-mail-address "mobile.parmenides@gmail.com")

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

(load-library "starttls")
(setq message-send-mail-function 'smtpmail-send-it
      smtpmail-starttls-credentials '(("smtp.gmail.com" 587 nil nil))
      smtpmail-auth-credentials '(("smtp.gmail.com" 587 
"mobile.parmenides@gmail.com" passwd))
      smtpmail-default-smtp-server "smtp.gmail.com"
      smtpmail-smtp-server "smtp.gmail.com"
      smtpmail-smtp-service 587
      smtpmail-debug-info t
      smtpmail-local-domain "")

When sending email, smtpmail-send-it issue some messages like these:

Process SMTP deleted
220 mx.google.com ESMTP y5sm79445tia.17

EHLO XF.

250-mx.google.com at your service, [219.228.59.9]

250-SIZE 35651584

250-8BITMIME

250-STARTTLS

250-ENHANCEDSTATUSCODES

250 PIPELINING

MAIL FROM:<mobile.parmenides@gmail.com> SIZE=675

530 5.7.0 Must issue a STARTTLS command first. y5sm79445tia.17

QUIT

221 2.0.0 closing connection y5sm79445tia.17

I think starttls must make some trouble. According to the gnus' manual, when 
connecting through tls, starttls.el and starttls program must exist. What is 
so called 'starttls program'? Is it starttls.elc?

Any suggestions are appreciated.

             reply	other threads:[~2009-03-09  6:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-09  6:19 parmenides [this message]
2009-03-09 20:01 ` Ted Zlatanov
2009-03-10  1:11   ` parmenides
2009-03-10 14:25     ` Ted Zlatanov

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='gp2cds$i1t$1@adenine.netfront.net' \
    --to=mobile.parmenides@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).