From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/8576 Path: news.gmane.org!not-for-mail From: Sebastian Tennant Newsgroups: gmane.emacs.gnus.user Subject: Gnus, smptmail.el and Gmail's SMTP server Date: Mon, 22 Jan 2007 16:17:51 +0200 Message-ID: <87zm8b87sg.fsf@moley.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1169475535 1085 80.91.229.12 (22 Jan 2007 14:18:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 22 Jan 2007 14:18:55 +0000 (UTC) Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Mon Jan 22 15:18:54 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 1H900U-0004vU-UT for gegu-info-gnus-english@m.gmane.org; Mon, 22 Jan 2007 15:18:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H900U-0005Qr-Bx for gegu-info-gnus-english@m.gmane.org; Mon, 22 Jan 2007 09:18:46 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H900R-0005PL-9Q for info-gnus-english@gnu.org; Mon, 22 Jan 2007 09:18:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H900M-0005KD-GX for info-gnus-english@gnu.org; Mon, 22 Jan 2007 09:18:42 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H900M-0005Jt-2P for info-gnus-english@gnu.org; Mon, 22 Jan 2007 09:18:38 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1H900K-00043V-Vk for info-gnus-english@gnu.org; Mon, 22 Jan 2007 09:18:37 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1H9008-00061l-8y for info-gnus-english@gnu.org; Mon, 22 Jan 2007 15:18:24 +0100 Original-Received: from 85.105.17.65 ([85.105.17.65]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 Jan 2007 15:18:24 +0100 Original-Received: from sebyte by 85.105.17.65 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 Jan 2007 15:18:24 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: info-gnus-english@gnu.org Original-Lines: 67 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 85.105.17.65 User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.92 (gnu/linux) Cancel-Lock: sha1:YeQs7KlIIp2ty4kmciMm2ErC84Y= 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:8576 Archived-At: 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