From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/8579 Path: news.gmane.org!not-for-mail From: Hadron Newsgroups: gmane.emacs.gnus.user Subject: Re: Gnus, smptmail.el and Gmail's SMTP server Date: Tue, 23 Jan 2007 11:14:30 +1300 Message-ID: <87bqkqwvy1.fsf@gmail.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1169505684 22270 80.91.229.12 (22 Jan 2007 22:41:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 22 Jan 2007 22:41:24 +0000 (UTC) Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Mon Jan 22 23:41:09 2007 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1H97qe-0000H9-VX for gegu-info-gnus-english@m.gmane.org; Mon, 22 Jan 2007 23:41:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H97qe-00078A-MC for gegu-info-gnus-english@m.gmane.org; Mon, 22 Jan 2007 17:41:08 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news-ber1.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 77 Original-X-Trace: individual.net NiondVVBc4d8veFlZe3H9A9T3msT7Ykol0eVssNDsfWrfvhKPt X-Orig-Path: news.inidividual.net!news X-Face: 2h#||Cd#d%F*NCm59[_6/{1a@jy%; |j>{D~4^gKg(^i%7j0IK?+,/GmW&:CD5fEKb_! Cancel-Lock: sha1:CQpWHi7DYgK4a9rzXtsiRGOOpsE= Original-Xref: shelby.stanford.edu gnu.emacs.gnus:78761 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:8579 Archived-At: Sebastian Tennant writes: > Hi all, > > Just wondering if anyone has got these three working together? > > I've followed the instructions found here as best I can, but without > success: > > http://www.emacswiki.org/cgi-bin/wiki/SmtpAuth > > I can use Gmail's SMTP server without any problems at all using > IceDove (Debian's unbranded Thunderbird). I simply provide the > follwoing info and off it goes: > > Server: smtp.googlemail.com > Port: 465 > SSL: yes > Username: ******** > Password: ******** > > but configuring smptmail.el is not so straightforward. > > I am setting the following variables accordingly: > > smtpmail-auth-credentials '(("smtp.googlemail.com" 465 "*******" "*******")) > smtpmail-starttls-credentials '(("smtp.googlemail.com" 465 nil nil)) > > (describe-variable 'smtpmail-starttls-credentials) > > "Specify STARTTLS keys and certificates for servers. This is a list > of four-element list with `servername' (a string), `port' (an > integer), `key' (a filename) and `certificate' (a filename). If you > do not have a certificate/key pair, leave the `key' and `certificate' > fields as `nil'. A key/certificate pair is only needed if you want > to use X.509 client authenticated connections." > > Needless to say this doesn't mean much to me. > > When I try to send mail with my current configuration, I get the > following SMTP trace: > > 220 mx.google.com ESMTP 33sm6293131hue > EHLO moley.org. > 250-mx.google.com at your service, [xx.xxx.xx.xx] > 250-SIZE 20971520 > 250-8BITMIME > 250-STARTTLS > 250 ENHANCEDSTATUSCODES > MAIL FROM: SIZE=285 > 530 5.7.0 Must issue a STARTTLS command first 33sm6293131hue > QUIT > 221 2.0.0 mx.google.com closing connection 33sm6293131hue > > So no STARTTLS command is being sent despite the following lines in my .gnus: > > (setq starttls-use-gnutls t > starttls-gnutls-program "gnutls-cli" > starttls-extra-arguments nil) > > and gnutls-cli is definitely installed: > > (shell-command "which gnutls-cli" t) > /usr/bin/gnutls-cli > > > Any help much appreciated. > > Sebastian > > > Did you install starttls? --