From: "dvd" <stuff@altruistek.com>
Subject: Re: SMTP-AUTH and STARTTLS
Date: 25 Mar 2006 07:21:35 -0800 [thread overview]
Message-ID: <1143300095.786258.283980@g10g2000cwb.googlegroups.com> (raw)
In-Reply-To: <874q22dlxp.fsf@localhost.localdomain>
Jamie Riden wrote:
> Ok, I'm running Debian unstable, I'm pretty sure I've followed all the
> directions at http://josefsson.org/emacs-smtp-starttls.html , and in
> the above post, but gnus just doesn't seem to try to do STARTTLS.
>
> *trace .. *
>
> 220 mx.gmail.com ESMTP h18sm1111047wxd^M
> EHLO localhost.localdomain.gmail.com^M
> 250-mx.gmail.com at your service^M
> 250-SIZE 20971520^M
> 250-8BITMIME^M
> 250-STARTTLS^M
> 250 ENHANCEDSTATUSCODES^M
> MAIL FROM:<jamie.riden@gmail.com> SIZE=1097^M
> 530 5.7.0 Must issue a STARTTLS command first h18sm1111047wxd^M
> QUIT^M
>
> .emacs:
>
> (require 'gnus)
> (setq message-send-mail-function 'smtpmail-send-it)
> (setq send-mail-function 'smtpmail-send-it)
> (setq smtpmail-auth-credentials '(("smtp.gmail.com" 587 "jamie.riden@gmail.com" "MYPASSWORD")))
> (setq smtpmail-starttls-credentials '(("smtp.gmail.com" 587 "" "")))
> (setq smtpmail-local-domain "gmail.com")
> (setq smtpmail-sendto-domain "gmail.com")
> (setq smtpmail-default-smtp-server "smtp.gmail.com")
> (setq smtpmail-smtp-service 587
> smtpmail-debug-info t
> smtpmail-smtp-server "smtp.gmail.com")
>
>
> I have exactly one smtpmail.el and that is
>
> % find /usr -name "smtpmail*" -print
> /usr/share/emacs/21.4/lisp/mail/smtpmail.el
> %
>
> ";; Modified by Simon Josefsson <simon@josefsson.org>, 2000-10-07, to support
> ;; STARTTLS. Requires external program"
>
> and I think I have the binaries I need:
>
> % which starttls
> /usr/local/bin/starttls
> % which gnutls-cli
> /usr/bin/gnutls-cli
>
> I'll admit to being a bit of a cargo-cult programmer when it comes to
> elisp, but I just can't seem to figure out why it's not working. Is
> there any way I can find out why smtpmail.el is deciding STARTTLS is
> not on the agenda?
>
> thanks,
> Jamie
I've been having the same problem. I'm using smtpmail from CVS rather
than what's in the debian package. I don't think the version that came
with 21.4 has starttls support in it, so you might want to try the
latest. Still, I can't seem to get it to use tls even though support
seems to be there now.
-David
prev parent reply other threads:[~2006-03-25 15:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-13 1:42 Charles Collicutt
2005-02-13 11:43 ` Emily Jackson
2005-02-13 13:35 ` Charles Collicutt
2005-03-21 18:49 ` Simon Josefsson
2006-03-13 22:22 ` Jamie Riden
2006-03-25 15:21 ` dvd [this message]
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=1143300095.786258.283980@g10g2000cwb.googlegroups.com \
--to=stuff@altruistek.com \
/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).