emacs-devel
[Top][All Lists]
Advanced

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

Re: Committing new smtpmail.el later tonight


From: Lars Magne Ingebrigtsen
Subject: Re: Committing new smtpmail.el later tonight
Date: Wed, 22 Jun 2011 00:46:25 +0200
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)

Yeah, I'm able to reproduce the bug if I don't use the built-in TLS
support.

`open-network-stream' only does opportunistic STARTTLS upgrades if
there's built-in support.  Mainly because the non-built-in support is
slow, and has historically been slightly buggy.

But the problem with smtp.gmail.com isn't that it just offers STARTTLS
support, but requires it.  So `open-network-stream' should, in this
case, do STARTTLS even if Emacs doesn't have built-in support.

So I'm wondering what's the best approach here.

1) `open-network-stream' can do opportunistic STARTTLS upgrades for all
protocols, using the external STARTTLS support.  This will be slower,
and may be more buggy.

2) I can add yet another parameter to `open-network-stream',
:always-use-starttls-if-possible, and have smtpmail.el set it.  This
will have least impact overall, but, like, adds yet another parameter,
so it's kinda tacky.

I think I'll do 2) for now to get things working, and we can reexamine
this later.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




reply via email to

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