Subject: bug#37221: 27.0.50; gnus fails to open connection post-NSM update

From: Lars Ingebrigtsen <[email-masked]>
Date: Wed, 04 Sep 2019 19:24:28 +0200

Robert Pluim <[email-masked]> writes:

> Even when the user has said '(nnimap-stream plain)'? Thatʼs a very
> explicit request not to do STARTTLS.

Let's see...

	      (open-network-stream
	       "*nnimap*" (current-buffer) nnimap-address
	       (nnimap-map-port (car ports))
	       :type nnimap-stream
	       :warn-unless-encrypted t

So it should always warn, no matter what the type is.  Here's the call
back to the NSM:

(defun network-stream-open-plain (name buffer host service parameters)

[...]

    (when (plist-get parameters :warn-unless-encrypted)
      (setq stream (nsm-verify-connection stream host service nil t)))

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