From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/58251 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: imaps, and .authinfo port name/number? Date: Fri, 13 Aug 2004 23:09:27 +0200 Sender: ding-owner@lists.math.uh.edu Message-ID: References: <87u0v8jg38.fsf@dod.no> <87r7qbhuam.fsf@dod.no> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1092431503 14584 80.91.224.253 (13 Aug 2004 21:11:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 13 Aug 2004 21:11:43 +0000 (UTC) Original-X-From: ding-owner+M6792@lists.math.uh.edu Fri Aug 13 23:11:34 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BvjKo-00035T-00 for ; Fri, 13 Aug 2004 23:11:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1BvjJB-0003mE-00; Fri, 13 Aug 2004 16:09:53 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1BvjJ2-0003m6-00 for ding@lists.math.uh.edu; Fri, 13 Aug 2004 16:09:44 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1BvjJ0-0003et-8y for ding@lists.math.uh.edu; Fri, 13 Aug 2004 16:09:42 -0500 Original-Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by justine.libertine.org (Postfix) with ESMTP id C172A3A003E for ; Fri, 13 Aug 2004 16:09:39 -0500 (CDT) Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BvjIu-0000C8-00 for ; Fri, 13 Aug 2004 23:09:36 +0200 Original-Received: from c494102a.s-bi.bostream.se ([217.215.27.65]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Aug 2004 23:09:36 +0200 Original-Received: from jas by c494102a.s-bi.bostream.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Aug 2004 23:09:36 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 29 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c494102a.s-bi.bostream.se User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:7AiawfGaJgNT+SFWrjEh89tpEBI= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:58251 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:58251 Steinar Bang writes: >>>>>> Simon Josefsson : > >> Steinar Bang writes: >>> What port name, or number should I use in the .authinfo file, for an >>> imaps server? >>> >>> I have the following in gnus-secondary-select-methods: >>> (nnimap "somemachine" >>> (nnimap-address "somemachine.somecompany.com") >>> (nnimap-stream ssl)) >>> > >>> I have tried >>> machine somemachine.somecompany.com login sb password secret port 993 >>> and I have tried >>> machine somemachine.somecompany.com login sb password secret port imaps > >> "port imap"? > > Huh? That's the same as "port 143", innit? But it did indeed > work... why? The magic translation "SSL means port 993" happen inside imap.el, so the netrc code in nnimap.el believe it will be using port 143. I suppose this isn't ideal, but changing things will likely be backwards incompatible. And as IMAPS is supposed to go away, I'd argue that the Right Thing here is to use STARTTLS instead of IMAPS.