From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/85959 Path: news.gmane.org!not-for-mail From: Nikolaus Rath Newsgroups: gmane.emacs.gnus.general Subject: How to use unencrypted imap connection? (was: How to use non-standard imap port?) Date: Sun, 24 May 2015 19:21:02 -0700 Message-ID: <87sialiei9.fsf@vostro.rath.org> References: <87vbfhifpd.fsf@vostro.rath.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1432520504 29520 80.91.229.3 (25 May 2015 02:21:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 May 2015 02:21:44 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M34194@lists.math.uh.edu Mon May 25 04:21:34 2015 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ywi1D-0008OR-5T for ding-account@gmane.org; Mon, 25 May 2015 04:21:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.84) (envelope-from ) id 1Ywi0u-00022X-2j; Sun, 24 May 2015 21:21:12 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.84) (envelope-from ) id 1Ywi0s-00022F-Jb for ding@lists.math.uh.edu; Sun, 24 May 2015 21:21:10 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.84) (envelope-from ) id 1Ywi0o-00057y-2q for ding@lists.math.uh.edu; Sun, 24 May 2015 21:21:10 -0500 Original-Received: from ebox.rath.org ([23.92.25.96]) by quimby.gnus.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Ywi0m-0002Th-IC for ding@gnus.org; Mon, 25 May 2015 04:21:04 +0200 Original-Received: from vostro ([192.168.12.4] helo=vostro.rath.org) by ebox.rath.org with esmtps (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.80) (envelope-from ) id 1Ywi0k-0003ew-PL for ding@gnus.org; Mon, 25 May 2015 02:21:02 +0000 Original-Received: by vostro.rath.org (Postfix, from userid 1000) id 4D4E6E73DBC; Sun, 24 May 2015 19:21:02 -0700 (PDT) Mail-Copies-To: never Mail-Followup-To: ding@gnus.org In-Reply-To: <87vbfhifpd.fsf@vostro.rath.org> (Nikolaus Rath's message of "Sun, 24 May 2015 18:55:10 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:85959 Archived-At: Hello, It turns out I mis-diagnosed the problem. It's not setting nnimap-server-port to "8421" that's causing the problem, but the setting of nnimap-stream to plain. Using tls or network works just fine, but encrypts the connection (and I want to look at it in Wireshark). Anyone have a suggestion how to find out where exactly this setting is causing problems? Thanks, -Nikolaus On May 24 2015, Nikolaus Rath wrote: > Hello, > > I'd like to connect to a non-standard IMAP port (8421). I've added a > (nnimap-server-port "8421") entry to my nnimap entry in > gnus-secondary-select methods. > > However, when I attempt to start Gnus the connection to the imap server > fails with > > | Warning: Unable to open server nnimap due to: Wrong type argument: stri= ngp, nil > > I've tried to set nnimap-server-port to 8214 (instead of "8421") > instead, but that did not work either. > > I've enabled "Enter Debugger on Error", but for some reason the debugger > is not actually entered (I assume Gnus somehow catches the error?). > > I've also single stepped through the nnimap-open-connection-1 function, > but it runs just fine, so the error is happening at some later point. > > > Does anyone have a suggestion what I can do to find out where the > problem is? > > > Best, > -Nikolaus > > --=20 > GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F > Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F > > =C2=BBTime flies like an arrow, fruit flies like a Banana.= =C2=AB --=20 GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F =C2=BBTime flies like an arrow, fruit flies like a Banana.=C2= =AB