From: Ted Zlatanov <tzz@lifelogs.com>
To: emacs-devel@gnu.org
Subject: Re: smtpmail and starttls improvement when starttls program is missing
Date: Fri, 31 Oct 2008 12:40:41 -0500 [thread overview]
Message-ID: <861vxw64ti.fsf@lifelogs.com> (raw)
In-Reply-To: 86wsfrayh9.fsf@lifelogs.com
On Wed, 29 Oct 2008 16:21:54 -0500 Ted Zlatanov <tzz@lifelogs.com> wrote:
TZ> Currently, smtpmail-open-stream will quietly fail if the starttls /
TZ> gnutls program is not available. The changes below (starttls diff is
TZ> against the Gnus trunk but it shouldn't matter) introduce the function
TZ> starttls-any-program-available which will return either starttls-program
TZ> or starttls-gnutls-program, whichever is usable. It also shows a
TZ> message, so a user can see in *Messages* that no STARTTLS protocol
TZ> transport is available. smtpmail-open-stream then uses the function,
TZ> simplifying the logic flow.
TZ> The message will only be shown when starttls-any-program-available is
TZ> called, but note that it is called by smtpmail-open-stream iff there is
TZ> a match for the server in smtpmail-starttls-credentials. This means the
TZ> user won't see the message unless he has an entry for the server that
TZ> implies he wants STARTTLS.
If there are no objections I will commit my patch over the weekend.
Ted
next prev parent reply other threads:[~2008-10-31 17:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-29 21:21 smtpmail and starttls improvement when starttls program is missing Ted Zlatanov
2008-10-31 17:40 ` Ted Zlatanov [this message]
2008-11-04 16:59 ` Ted Zlatanov
2008-11-04 0:53 ` Katsumi Yamaoka
2008-11-04 16:50 ` 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=861vxw64ti.fsf@lifelogs.com \
--to=tzz@lifelogs.com \
--cc=emacs-devel@gnu.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.