Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
Cc: Simon Josefsson <simon@josefsson.org>, Daiki Ueno <ueno@unixuser.org>
Subject: Re: gmail from gnus
Date: Mon, 20 Nov 2006 19:57:21 +0000	[thread overview]
Message-ID: <g69zmalvqla.fsf@lifelogs.com> (raw)
In-Reply-To: <mailman.790.1163851507.2155.info-gnus-english@gnu.org>

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

  parent reply	other threads:[~2006-11-20 19:57 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-16 18:35 rahed
2006-11-16 18:55 ` Leo
2006-11-17 14:38   ` Radek
     [not found]   ` <mailman.749.1163774329.2155.info-gnus-english@gnu.org>
2006-11-17 20:41     ` Ted Zlatanov
2006-11-18 11:32       ` Radek
     [not found]       ` <mailman.790.1163851507.2155.info-gnus-english@gnu.org>
2006-11-20 19:57         ` Ted Zlatanov [this message]
2006-11-21 19:33           ` rahed
     [not found]           ` <mailman.956.1164137613.2155.info-gnus-english@gnu.org>
2006-11-22 16:04             ` Ted Zlatanov
2006-11-24 21:37               ` rahed
     [not found]               ` <mailman.1030.1164404261.2155.info-gnus-english@gnu.org>
2006-11-25 13:06                 ` Simias
2006-11-25 14:04                   ` Hadron Quark
2006-11-25 14:52                   ` rahed
     [not found]                   ` <mailman.1095.1164466382.2155.info-gnus-english@gnu.org>
2006-11-26  4:45                     ` ssSslang
2006-11-27 16:17                 ` Ted Zlatanov
     [not found] ` <mailman.730.1163703618.2155.info-gnus-english@gnu.org>
2006-11-17  6:26   ` Brep
2006-11-17  6:53     ` koocyton
2006-11-17 20:36       ` Ted Zlatanov

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=g69zmalvqla.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=simon@josefsson.org \
    --cc=ueno@unixuser.org \
    /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).