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#37221: 27.0.50; gnus fails to open connection post-NSM update Date: Wed, 04 Sep 2019 16:56:07 +0200 Message-ID: References: <87k1avgbb8.fsf@gmail.com> <871rwxfd7w.fsf@gmail.com> <87sgpcdx0p.fsf@gmail.com> <87ftlcdvxh.fsf@gnus.org> <87h85sduuw.fsf@gmail.com> 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="137218"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 37221@debbugs.gnu.org, Lars Ingebrigtsen To: Alex Branham Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 04 16:57:13 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 1i5Wie-000ZXx-MC for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 Sep 2019 16:57:12 +0200 Original-Received: from localhost ([::1]:34114 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i5Wic-0005LC-MT for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 Sep 2019 10:57:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54649) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i5WiV-0005Kp-FZ for bug-gnu-emacs@gnu.org; Wed, 04 Sep 2019 10:57:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i5WiU-0006xg-Dd for bug-gnu-emacs@gnu.org; Wed, 04 Sep 2019 10:57:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53536) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i5WiU-0006xc-AJ for bug-gnu-emacs@gnu.org; Wed, 04 Sep 2019 10:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i5WiU-0002Kn-5k; Wed, 04 Sep 2019 10:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Wed, 04 Sep 2019 14:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37221 X-GNU-PR-Package: emacs,gnus Original-Received: via spool by 37221-submit@debbugs.gnu.org id=B37221.15676089788920 (code B ref 37221); Wed, 04 Sep 2019 14:57:02 +0000 Original-Received: (at 37221) by debbugs.gnu.org; 4 Sep 2019 14:56:18 +0000 Original-Received: from localhost ([127.0.0.1]:34123 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i5Whm-0002Jo-21 for submit@debbugs.gnu.org; Wed, 04 Sep 2019 10:56:18 -0400 Original-Received: from mail-wm1-f47.google.com ([209.85.128.47]:37475) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i5Whj-0002JZ-O6 for 37221@debbugs.gnu.org; Wed, 04 Sep 2019 10:56:16 -0400 Original-Received: by mail-wm1-f47.google.com with SMTP id r195so4173485wme.2 for <37221@debbugs.gnu.org>; Wed, 04 Sep 2019 07:56:15 -0700 (PDT) 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=484tXPNSGxZ/moZuN86pHLfCoYAhJEfituOQrDlPlwI=; b=WznCRK6ha42hXqw1tvcOCG0nVgcEKGGwaUMzw/AAEEn50kGg77HIbjGOY0rXV1qXND rLTn898DAmbecJK40SAUjdFVkGKotGZL4xxw9j7YIQkWNfe9ZaAVAqi9MJVRajlKQO6p 9eEvXCbjE8JXGyXiWBenJxLFrjkVd5k9NK6GgB6SrkcQmQ/gyLXlE1KWBfHTwT/Mua6a n/VJMu2KQtopPulLiuVGGXAuMJHJGgs4lfBPVKFvRZbtE1rnN9GunT8PZwMeTfWe+11v 0SWT3+nIK0SRP0G6kgDc1hi7ENdWTWysHKzAbW2IBk5XHLFDlU7MJScJcQEHrnZMOEuM hTDw== 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=484tXPNSGxZ/moZuN86pHLfCoYAhJEfituOQrDlPlwI=; b=hKX6nivZApfMtCsHKulRNqCeUnLFVA1U0FNj1r1rV/9cKbQQY5K55plTjDnYb+w+Je xiNqOzyxmbmNwN2r7cdOgAv+ebh2Wu6nIldN10QT9vM3WPRqz8KgYCTCRGr0dkuiCS/o bpB98Ib8MtGbN+YBqoTfwlyYkIsbMucgRUwg2D12ovtU502fn/a1D/kx3OKNIRlIc+1Q we/esI81SGjSYB9YWhR2IRLcFq9LMUMKvvdy1U4/flBH3NRKlWzjJED+ZJev1jSftunQ 6rA40gM/eqiUASJhodo7jVJknMqMGSIrzf0+IbHDv9E9aujnpDBH/FJVFKLh6cbdVZte iv5Q== X-Gm-Message-State: APjAAAVj/uuHYfRknXI8ZtcOBKJAZrt0BPxpF+BaPpJyvXEn4adFo0Nj utrPQ21OJVcWCX1YGPPknsqSefCF X-Google-Smtp-Source: APXvYqxR0Et3/0YrGoFlJAknQ1df8j4z0AnAxLrKJ+rphTNclSTkoMAUuZrHUgy6MRq8YFCbm4AB2w== X-Received: by 2002:a1c:7214:: with SMTP id n20mr4503332wmc.160.1567608969382; Wed, 04 Sep 2019 07:56:09 -0700 (PDT) Original-Received: from rpluim-mac ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id w15sm15348050wru.53.2019.09.04.07.56.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Sep 2019 07:56:08 -0700 (PDT) Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <87h85sduuw.fsf@gmail.com> (Alex Branham's message of "Wed, 04 Sep 2019 09:00:39 -0500") 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:166201 Archived-At: >>>>> On Wed, 04 Sep 2019 09:00:39 -0500, Alex Branham said: >> The setting of nsm-trust-local-network should not affect whether the >> *imap log* buffer is created or not, so there's something odd going = on >> in your Emacs, I think. Alex> I'm not at all familiar with this part of Emacs, but could it be = the Alex> case that the NSM is somehow killing the nnimap process before it= has a Alex> chance to do anything, including logging? Yes, that=CA=BCs what it looks like >> Does your setup work if you revert Emacs back to before the NSM chan= ges? >> And what is the contents of your *imap log* buffer? Alex> Yes, it does. After reverting to Emacs built August 18th, here's = the *imap log* buffer: Alex> 08:56:15 [localhost] (inhibited) I=CA=BCve spotted one possible problem: nsm-query runs even when the connection is unencrypted, which ends up doing (insert nil), which aborts the connection. Does the following help? (Lars, why is nsm prompting for unencrypted connections?) diff --git a/lisp/net/nsm.el b/lisp/net/nsm.el index 5e8381075b..7243ae8822 100644 --- a/lisp/net/nsm.el +++ b/lisp/net/nsm.el @@ -788,7 +788,8 @@ nsm-check-plain-connection (defun nsm-query (host port status what problems message) ;; If there is no user to answer queries, then say `no' to everything. (if (or noninteractive - nsm-noninteractive) + nsm-noninteractive + (not status)) nil (let ((response (condition-case nil