From: Robert Pluim <rpluim@gmail.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: Ryan Tate <ryantate@ryantate.com>, 38066@debbugs.gnu.org
Subject: bug#38066: 26.1; X-Message-SMTP-Method header does not affect smtpmail-stream-type
Date: Tue, 05 Nov 2019 21:09:59 +0100 [thread overview]
Message-ID: <m2r22m13vs.fsf@gmail.com> (raw)
In-Reply-To: <87muda89mp.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 05 Nov 2019 19:23:58 +0100")
>>>>> On Tue, 05 Nov 2019 19:23:58 +0100, Lars Ingebrigtsen <larsi@gnus.org> said:
Lars> Robert Pluim <rpluim@gmail.com> writes:
Lars> I'm not sure I understand the rationale hre. 465 is defined as a TLS
Lars> port, so that's what Emacs should talk on that port. It's like port
Lars> 443 -- it's also TLS.
>>
>> 465 is just a port. And eg
>>
>> (open-network-stream "google" nil "mail.google.com" 465)
>>
>> will attempt a STARTTLS connection (and incidentally hang my emacs
>> :-)). You can override that by passing in :type tls, but in some
>> situations you canʼt do that, hence the proposed patch.
>>
>> Unless youʼre suggesting that we unconditionally use tls for 465/443?
>> Thatʼs another option, but itʼs sure to break someone's setup.
Lars> 465 is a TLS port in an SMTP context, and 443 is a TLS port in an HTTP
Lars> context. Outside those contexts, they're not anything in particular, of
Lars> course.
So youʼre suggesting we do autodetection in smtpmail and nnimap only
(and probably a few more besides)?
Robert
next prev parent reply other threads:[~2019-11-05 20:09 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-05 4:45 bug#38066: 26.1; X-Message-SMTP-Method header does not affect smtpmail-stream-type Ryan Tate via Bug reports for GNU Emacs, the Swiss army knife of text editors
2019-11-05 10:18 ` Robert Pluim
[not found] ` <87o8xqcn8v.fsf@disp2634>
2019-11-05 17:24 ` Robert Pluim
2019-11-05 17:42 ` Lars Ingebrigtsen
2019-11-05 17:53 ` Robert Pluim
2019-11-05 18:23 ` Lars Ingebrigtsen
2019-11-05 20:09 ` Robert Pluim [this message]
2019-11-08 20:56 ` Lars Ingebrigtsen
2020-08-20 15:05 ` Lars Ingebrigtsen
2019-11-05 17:57 ` Andreas Schwab
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2r22m13vs.fsf@gmail.com \
--to=rpluim@gmail.com \
--cc=38066@debbugs.gnu.org \
--cc=larsi@gnus.org \
--cc=ryantate@ryantate.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).