From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Live System User Newsgroups: gmane.emacs.bugs Subject: bug#29615: 25.2; DNS multiple addresses and `open-protocol-stream` Date: Sun, 10 Dec 2017 08:19:59 -0500 Message-ID: <87fu8isosg.fsf@aol.com> References: <87r2s5ry33.fsf@aol.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1512912070 11909 195.159.176.226 (10 Dec 2017 13:21:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 10 Dec 2017 13:21:10 +0000 (UTC) Cc: 29615@debbugs.gnu.org To: To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Dec 10 14:21:06 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eO1XU-0002qh-LP for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Dec 2017 14:21:04 +0100 Original-Received: from localhost ([::1]:44723 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eO1Xb-00057z-Ry for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Dec 2017 08:21:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35143) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eO1XV-00057j-DJ for bug-gnu-emacs@gnu.org; Sun, 10 Dec 2017 08:21:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eO1XS-0003cX-7V for bug-gnu-emacs@gnu.org; Sun, 10 Dec 2017 08:21:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45902) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eO1XS-0003cR-2d for bug-gnu-emacs@gnu.org; Sun, 10 Dec 2017 08:21:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eO1XR-0003ot-Sr for bug-gnu-emacs@gnu.org; Sun, 10 Dec 2017 08:21:01 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <87r2s5ry33.fsf@aol.com> Resent-From: Live System User Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Dec 2017 13:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29615 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29615-submit@debbugs.gnu.org id=B29615.151291201114601 (code B ref 29615); Sun, 10 Dec 2017 13:21:01 +0000 Original-Received: (at 29615) by debbugs.gnu.org; 10 Dec 2017 13:20:11 +0000 Original-Received: from localhost ([127.0.0.1]:54583 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eO1Wd-0003nR-I3 for submit@debbugs.gnu.org; Sun, 10 Dec 2017 08:20:11 -0500 Original-Received: from omr-a006e.mx.aol.com ([204.29.186.55]:56064) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eO1Wb-0003nD-LC for 29615@debbugs.gnu.org; Sun, 10 Dec 2017 08:20:10 -0500 Original-Received: from mtaout-mbd01.mx.aol.com (mtaout-mbd01.mx.aol.com [172.26.252.13]) by omr-a006e.mx.aol.com (Outbound Mail Relay) with ESMTP id 55B5D380009E; Sun, 10 Dec 2017 08:20:04 -0500 (EST) Original-Received: from localhost.localdomain (c-73-16-70-190.hsd1.ma.comcast.net [73.16.70.190]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mtaout-mbd01.mx.aol.com (MUA/Third Party Client Interface) with ESMTPSA id B55FC3800008E; Sun, 10 Dec 2017 08:20:03 -0500 (EST) x-aol-global-disposition: G DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.com; s=20150623; t=1512912004; bh=+EezY58rFFk/l3q7bhThSx7nOCxA1gZJmLy2QHVR3WA=; h=From:To:Subject:Message-ID:Date:MIME-Version:Content-Type; b=ggOtX98sR0B8HP5Zy2nknFOWH59efLl1vKZwczbJE5XA+esOWy+xWN22syBT72ddp wN0avDpIR4mHu/dL57K2lL71xrU9Ch9O1OcGE+ADxOLXvl616USl7i84bWn97/N1lw b6w8ZVNaqB0lbjF+6Sbhruh0NDdrd5HKDn6wBmsc= x-aol-sid: 3039ac1afc0d5a2d34834d58 X-AOL-IP: 73.16.70.190 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: 208.118.235.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:140890 Archived-At: On Dez 09 2017, Andreas Schwab linux-m68k.org> wrote: >On Dez 08 2017, Live System User wrote: > >> (nnimap "aol" >> (nnimap-address "imap.aim.com") >> (nnimap-server-port 993) >> (nnimap-stream ssl) > >I'm using similar select methods, and they work for me. But I don't set >nnimap-stream or nnimap-server-port, but let Gnus figure that out by >itself. It appears that `open-protocol-stream' is being passed the stanza name/label by either the `nnimap-open-connection' or ``nnimap-open-connection-1' functions instead of the explicit specified value of "nnimap-address": (open-protocol-stream "*nnimap*" (current-buffer) nnimap-address (nnimap-map-port (car ports)) :type nnimap-stream [...] The `open-protocol-stream' function is defined as: (open-protocol-stream NAME BUFFER HOST SERVICE &rest PARAMETERS) According to the backtrace, the HOST being passed to and used by `open-protocol-stream' is "aol": open-protocol-stream("*nnimap*" # "aol" "993" :type ssl However, this same backtrace shows nnimap-open-server("aol" ((nnimap-address "imap.aim.com") (nnimap-server-port 993) (nnimap-stream ssl) So why isn't [nnimap-address "imap.aim.com"] being used? It should be passed to `open-protocol-stream' by `nnimap-open-connection-1' (which gets it from `nnimap-open-connection'). In your setup, can you confirm that the "nnimap-address" address is being passed and used and NOT the stanza name/label in the functions `nnimap-open-connection', `nnimap-open-connection-1' and `open-protocol-stream'? Thanks.