From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs 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 Message-ID: References: <87ftj3j5hb.fsf@disp2634> <87o8xqcn8v.fsf@disp2634> <87r22m8bjk.fsf@gnus.org> <87muda89mp.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="136281"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Ryan Tate , 38066@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 05 21:12:03 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iS5BL-000ZLC-9D for geb-bug-gnu-emacs@m.gmane.org; Tue, 05 Nov 2019 21:12:03 +0100 Original-Received: from localhost ([::1]:49530 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iS5BK-00066n-62 for geb-bug-gnu-emacs@m.gmane.org; Tue, 05 Nov 2019 15:12:02 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52767) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iS5AN-0005Ti-KZ for bug-gnu-emacs@gnu.org; Tue, 05 Nov 2019 15:11:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iS5AM-0005Ux-MF for bug-gnu-emacs@gnu.org; Tue, 05 Nov 2019 15:11:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58508) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iS5AM-0005Ur-J3 for bug-gnu-emacs@gnu.org; Tue, 05 Nov 2019 15:11:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iS5AM-0008Sk-A4 for bug-gnu-emacs@gnu.org; Tue, 05 Nov 2019 15:11:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 05 Nov 2019 20:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38066 X-GNU-PR-Package: emacs Original-Received: via spool by 38066-submit@debbugs.gnu.org id=B38066.157298461032451 (code B ref 38066); Tue, 05 Nov 2019 20:11:02 +0000 Original-Received: (at 38066) by debbugs.gnu.org; 5 Nov 2019 20:10:10 +0000 Original-Received: from localhost ([127.0.0.1]:39095 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iS59W-0008RL-6J for submit@debbugs.gnu.org; Tue, 05 Nov 2019 15:10:10 -0500 Original-Received: from mail-wm1-f49.google.com ([209.85.128.49]:39338) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iS59T-0008Qu-Ji for 38066@debbugs.gnu.org; Tue, 05 Nov 2019 15:10:08 -0500 Original-Received: by mail-wm1-f49.google.com with SMTP id t26so728326wmi.4 for <38066@debbugs.gnu.org>; Tue, 05 Nov 2019 12:10:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list :date:in-reply-to:message-id:mime-version:content-transfer-encoding; bh=fIlouw6BgdcgaA3CFNqNu2z/AQYPF7wTg+QaK7GvOI8=; b=tXoSE2r4hSADZslelJZEseWQF73R6TeQ/03gomtiIRUf8OCyeE6dj4odZWoE/sl7oh 6wmrtSrMuzjDclgSz8pf/4u7jQtVGXje8zjDQDnW6EZ9t7zGBVqCG2kGShqHKu1QWwyF W4tQuIaIV9EBGrqDx1mM9Efvmsp32yEZdggOEOFVU3uVY+ZkCcPAlvmtiIZ1eHG339MG ArfJ2WbtLUo9/fc6bFF2qTZgXIShm15zXOZL+WpAKKKHeLBUvO4YAxSHUVfqd3CrOChX KvquKDOgYJhF02UZh95Yf8UbcHLo/ZWdRLOznKlq4eVJ870EtczcLwBUGOm96CVP4/zj T3MA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=fIlouw6BgdcgaA3CFNqNu2z/AQYPF7wTg+QaK7GvOI8=; b=KAF2XlCCSGvmFUlSfRIka5aeFIp7e1CTmr8PuBZngXSihE+Ws04mnvBliBZVt8evUF LdQYr1cgU5d+IhMKtg4Zcokvq8T2sCMeRUtI8o97Zwe/8LedvhdWkGuM5tzzM8xodu0b 7hQdVKn4aej/UZ3gC28sY5VNM5zAB2rVmzMywoBkLecSmC9E6g4oiIeyJshcb9e9KIJB nPkqIAjf2hhFASukxd03A/A5uC2po/kVTo+1pWnv1xB8Po46wpwYWLSl9RavQumYHJ4Z +YRSQwGomOdOzVDy5LbE7Kv7bxZW+KsD57zKJhk27/zbVWCj2OlLOoO96CyiDU/Euw+5 6lXQ== X-Gm-Message-State: APjAAAXQD9jt2pFgitdHeRPor2GFNXwuV4nHefX4HbbX/KjmcNaW5MV9 LkwmtxrB9lo4AfuOgrcjGa2lgsAa X-Google-Smtp-Source: APXvYqze2ePrXBmFqa7iq671iO04dQj80QPWDqwFRFk3E/Cb/p3AmlFic42saZlijcXpq7cRB8xPaw== X-Received: by 2002:a1c:dd45:: with SMTP id u66mr693548wmg.12.1572984601284; Tue, 05 Nov 2019 12:10:01 -0800 (PST) Original-Received: from rpluim-mac ([2a01:e34:ecfc:a860:c514:c07d:445b:e553]) by smtp.gmail.com with ESMTPSA id b17sm12684189wru.36.2019.11.05.12.10.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Nov 2019 12:10:00 -0800 (PST) Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <87muda89mp.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 05 Nov 2019 19:23:58 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:170986 Archived-At: >>>>> On Tue, 05 Nov 2019 19:23:58 +0100, Lars Ingebrigtsen said: Lars> Robert Pluim 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 p= ort Lars> 443 -- it's also TLS. >>=20 >> 465 is just a port. And eg >>=20 >> (open-network-stream "google" nil "mail.google.com" 465) >>=20 >> 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=CA=BCt do that, hence the proposed patch. >>=20 >> Unless you=CA=BCre suggesting that we unconditionally use tls for 46= 5/443? >> That=CA=BCs another option, but it=CA=BCs sure to break someone's se= tup. 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 particu= lar, of Lars> course. So you=CA=BCre suggesting we do autodetection in smtpmail and nnimap only (and probably a few more besides)? Robert