From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/8240 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.user Subject: Re: gmail from gnus Date: Mon, 20 Nov 2006 19:57:21 +0000 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1164055262 1510 80.91.229.2 (20 Nov 2006 20:41:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 20 Nov 2006 20:41:02 +0000 (UTC) Cc: Simon Josefsson , Daiki Ueno Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Mon Nov 20 21:40:59 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 1GmFwg-0004yr-DQ for gegu-info-gnus-english@m.gmane.org; Mon, 20 Nov 2006 21:40:50 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GmFwf-0008Tj-VN for gegu-info-gnus-english@m.gmane.org; Mon, 20 Nov 2006 15:40:49 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!multikabel.net!feed20.multikabel.net!newsfeed.freenet.de!news.albasani.net!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 63 Original-X-Trace: news.albasani.net CSFEBobrUgN9/jjJOwyQ2if6Nc/0xIL505HBbKQ7pgB189MSPzSp1pQgx7KQxCG+/APMo4cN3xv2SRebgJ1kXw== Original-X-Complaints-To: abuse@albasani.net Original-NNTP-Posting-Date: Mon, 20 Nov 2006 19:57:27 +0000 (UTC) X-User-ID: v8iULWdFvo8e1wCew2DXkZZNkTuHpFISCATrI8oKPDE= X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Cancel-Lock: sha1:oEvPnpJWRQ1ON6g/76lZobzAKFs= User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) X-NNTP-Posting-Host: ogzRae9ihwLLod27+WoFrRvpvEFOUZesbN09N/il0Is= Original-Xref: shelby.stanford.edu gnu.emacs.gnus:78425 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:8240 Archived-At: On 18 Nov 2006, raherh@gmail.com wrote: > (setq message-send-mail-function 'smtpmail-send-it) > (setq smtpmail-starttls-credentials '(("smtp.gmail.com" 587 nil nil))) > (setq smtpmail-auth-credentials '(("smtp.gmail.com" 587 "myusername" "mypasswd"))) > (setq smtpmail-default-smtp-server "smtp.gmail.com") > (setq smtpmail-smtp-server "smtp.gmail.com") > (setq smtpmail-smtp-service 587)) This is all fine. >> If it's still not working, make sure starttls.el can find the >> necessary software. The following: >> >> (executable-find starttls-program) >> >> should return something other than nil. If not, adjust the value of >> starttls-program accordingly with customize-variable. > > I understood if I use GnuTLS then starttls-program is not used but > GnuTLS program gnu-cli in starttls-use-gnutls function. Should I set > starttls-program? This is probably the problem. I use starttls: starttls (starttls) 0.10 Copyright (C) 1999 Free Software Foundation, Inc. and it works for me. Maybe someone that uses GnuTLS can help you? Otherwise you can try to walk with me through the setup of starttls.el, which is not too bad: (defcustom starttls-gnutls-program "gnutls-cli" "Name of GNUTLS command line tool. This program is used when GNUTLS is used, i.e. when `starttls-use-gnutls' is non-nil." :version "22.1" :type 'string :group 'starttls) (defcustom starttls-program "starttls" "The program to run in a subprocess to open an TLSv1 connection. This program is used when the `starttls' command is used, i.e. when `starttls-use-gnutls' is nil." :type 'string :group 'starttls) (defcustom starttls-use-gnutls (not (executable-find starttls-program)) "*Whether to use GNUTLS instead of the `starttls' command." :version "22.1" :type 'boolean :group 'starttls) So you have to check all three variables and let us know their values... starttls-gnutls-program won't work if gnutls-cli is not in your path, actually. I wonder why the authors didn't use executable-find, so it would be undefined (and throw an error) if gnutls-cli doesn't exist in the path. Maybe there's a good reason. cc-ing Daiki and Simon in case they have some insight. Ted