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: Fri, 08 Dec 2017 14:40:01 -0500 Message-ID: <87lgidrotq.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 1512762073 20829 195.159.176.226 (8 Dec 2017 19:41:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 8 Dec 2017 19:41:13 +0000 (UTC) Cc: 29615@debbugs.gnu.org To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 08 20:41:09 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 1eNOWC-0005I5-SY for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Dec 2017 20:41:09 +0100 Original-Received: from localhost ([::1]:38769 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eNOWK-0000dc-7X for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Dec 2017 14:41:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37972) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eNOWA-0000cB-0j for bug-gnu-emacs@gnu.org; Fri, 08 Dec 2017 14:41:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eNOW6-0007nX-QE for bug-gnu-emacs@gnu.org; Fri, 08 Dec 2017 14:41:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44217) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eNOW6-0007n5-LZ for bug-gnu-emacs@gnu.org; Fri, 08 Dec 2017 14:41:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eNOW6-0004t9-Az for bug-gnu-emacs@gnu.org; Fri, 08 Dec 2017 14:41:02 -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: Fri, 08 Dec 2017 19:41:02 +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.151276201118727 (code B ref 29615); Fri, 08 Dec 2017 19:41:02 +0000 Original-Received: (at 29615) by debbugs.gnu.org; 8 Dec 2017 19:40:11 +0000 Original-Received: from localhost ([127.0.0.1]:52898 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eNOVH-0004rz-60 for submit@debbugs.gnu.org; Fri, 08 Dec 2017 14:40:11 -0500 Original-Received: from omr-a010e.mx.aol.com ([204.29.186.54]:56409) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eNOVG-0004ro-AH for 29615@debbugs.gnu.org; Fri, 08 Dec 2017 14:40:10 -0500 Original-Received: from mtaout-aak02.mx.aol.com (mtaout-aak02.mx.aol.com [172.27.2.226]) by omr-a010e.mx.aol.com (Outbound Mail Relay) with ESMTP id 8D166380005E; Fri, 8 Dec 2017 14:40: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-aak02.mx.aol.com (MUA/Third Party Client Interface) with ESMTPSA id 7ECF538000081; Fri, 8 Dec 2017 14:40: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=1512762004; bh=TznMn9mJmoLk9UlxPNrDaQhQ4r175j882qk+6pQt/mU=; h=From:To:Subject:Message-ID:Date:MIME-Version:Content-Type; b=VPDpXtfci8m1eNDgPOtgE4gkt4+ICvXXpse4FtEXV1i5bLTiyYNuK6T2FcrLyE62P Y7Pz4QP83zJVO7xOKoDZaShGnq+r0TZtIaY4cDdFY3tiLB4Xm0heA/QbK3MfBUIJJx II1QCyhy/MWRuuDLP/fZva3jWGej4GWmSBZ2eUD0= x-aol-sid: 3039ac1b02e25a2aea934bdb 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:140834 Archived-At: (heap 1024 95747 32110)) On Dez 08 2017, Andreas Schwab linux-m68k.org> wrote: >On Dez 08 2017, Live System User aol.com> wrote: > >> Perhaps it's failing on one of the multiple resolved IP >> addresses found amd not trying the next resolved IP address >> that was returned (until the pool is exhausted) before >> giving up with the error "aol/993 Name or service not known"? > >Does it work if you use one of the working IP addresses? Oddly enough it doesn't! Neither adding the working IP address to /etc/hosts nor changing `gnus-secondary-select-methods' nnimap-address to that address worked. But when I changed the stanza from: nnimap "aol" to nnimap "imap.aim.com" it worked. So apparremtly, defining the slot (nnimap-address "imap.aim.com") is not being honored when `gnus-secondary-select-methods' contains: (nnimap "aol" (nnimap-address "imap.aim.com") (nnimap-server-port 993) (nnimap-stream ssl) Gnus is using "aol" instead of "imap.aim.com" as evidenced by if I add 152.163.0.97 aol to /etc/hosts I am now able to connect when the stanza is "aol". Based on the backtrace I sent previously, are the correct parameters being sent? It appears that the function `nnimap-open-server' has the correct parameters passed to `nnimap-open-connection' so what or where is the problem? Thanks.