From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/6943 Path: news.gmane.org!not-for-mail From: "dvd" Newsgroups: gmane.emacs.gnus.user Subject: Re: SMTP-AUTH and STARTTLS Date: 25 Mar 2006 07:21:35 -0800 Organization: http://groups.google.com Message-ID: <1143300095.786258.283980@g10g2000cwb.googlegroups.com> References: <874q22dlxp.fsf@localhost.localdomain> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1143301224 20996 80.91.229.2 (25 Mar 2006 15:40:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 25 Mar 2006 15:40:24 +0000 (UTC) Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Sat Mar 25 16:40:18 2006 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FNAs9-0000Aj-Ld for gegu-info-gnus-english@m.gmane.org; Sat, 25 Mar 2006 16:40:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FNAs9-0001DF-Pk for gegu-info-gnus-english@m.gmane.org; Sat, 25 Mar 2006 10:40:13 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!g10g2000cwb.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 67 Original-NNTP-Posting-Host: 72.224.216.35 Original-X-Trace: posting.google.com 1143300103 13795 127.0.0.1 (25 Mar 2006 15:21:43 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 25 Mar 2006 15:21:43 +0000 (UTC) In-Reply-To: <874q22dlxp.fsf@localhost.localdomain> User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060313 Debian/1.5.dfsg+1.5.0.1-4 Firefox/1.5.0.1,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: g10g2000cwb.googlegroups.com; posting-host=72.224.216.35; posting-account=0GchVw0AAAC13YVbAXM0t-i5iKiYcVqR Original-Xref: shelby.stanford.edu gnu.emacs.gnus:77130 Original-To: info-gnus-english@gnu.org X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:6943 Archived-At: 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: 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 , 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