emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: smtpmail and starttls improvement when starttls program is missing


From: Ted Zlatanov
Subject: Re: smtpmail and starttls improvement when starttls program is missing
Date: Tue, 04 Nov 2008 10:59:54 -0600
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux)

On Fri, 31 Oct 2008 12:40:41 -0500 Ted Zlatanov <address@hidden> wrote: 

TZ> On Wed, 29 Oct 2008 16:21:54 -0500 Ted Zlatanov <address@hidden> 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.

TZ> If there are no objections I will commit my patch over the weekend.

The starttls.el changes are in the Gnus CVS trunk.  When they are
synchronized to the Emacs CVS trunk, I will commit the smtpmail.el
changes as well.

Ted





reply via email to

[Prev in Thread] Current Thread [Next in Thread]