From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/53821 Path: main.gmane.org!not-for-mail From: Ted Stern Newsgroups: gmane.emacs.gnus.general Subject: semi-undocumented "feature" of nnimap-authinfo-file Date: Mon, 25 Aug 2003 14:15:27 -0700 Organization: Cray Inc. Sender: ding-owner@lists.math.uh.edu Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1061846187 22710 80.91.224.253 (25 Aug 2003 21:16:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 25 Aug 2003 21:16:27 +0000 (UTC) Original-X-From: ding-owner+M2361@lists.math.uh.edu Mon Aug 25 23:16:26 2003 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 19rOhN-0004Vy-00 for ; Mon, 25 Aug 2003 23:16:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19rOgd-0006y5-00; Mon, 25 Aug 2003 16:15:39 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19rOgW-0006xz-00 for ding@lists.math.uh.edu; Mon, 25 Aug 2003 16:15:32 -0500 Original-Received: (qmail 98749 invoked by alias); 25 Aug 2003 21:15:32 -0000 Original-Received: (qmail 98743 invoked from network); 25 Aug 2003 21:15:31 -0000 Original-Received: from main.gmane.org (80.91.224.249) by sclp3.sclp.com with SMTP; 25 Aug 2003 21:15:31 -0000 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19rOhI-000498-00 for ; Mon, 25 Aug 2003 23:16:20 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19rOhH-000490-00 for ; Mon, 25 Aug 2003 23:16:19 +0200 Original-Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19rOgS-0005sH-00 for ; Mon, 25 Aug 2003 23:15:28 +0200 Original-Lines: 39 Original-X-Complaints-To: usenet@sea.gmane.org User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.2 (usg-unix-v) Cancel-Lock: sha1:J1DpOubtFlsKvey1LgQ109SUmy4= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:53821 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:53821 I use nnimap via gnus-secondary-select-methods. For one particular server, I specify nnimap-stream to be ssl, but otherwise I use the nnimap defaults. I find that the only way my entries in the ~/.authinfo file containing the login and password are seen during imap login is if I enter the machine name this way: machine some.place.net login mylogin password mypassword port imap ^^^^^^^^^ non-obvious!!!! This took a lot of delving around and experimenting with the low-level functions that read the authinfo file. And I don't know what would have happened if I had specified a non-standard ssl port. Knowing after the fact what I was supposed to look for, I find that the NNTP info entry for `nntp-authinfo-function' does mention the extra "port" token (with zero examples): `port' is used to indicate what port on the server the credentials apply to and `force' is explained below. But the IMAP node documentation for `nnimap-authinfo-file' that refers to the NNTP page doesn't mention what the port token should be set to. Seems pretty vague to me, especially when ~/.authinfo could be used by more than one protocol. Maybe somebody could amend the docs a little bit to help other clueless imap users such as myself? ;-) Ted -- Ted Stern Applications Group Cray Inc. office: 206-701-2182 411 First Avenue South, Suite 600 cell: 206-383-1049 Seattle, WA 98104-2860 FAX: 206-701-2500 Frango ut patefaciam -- I break that I may reveal (The Paleontological Society motto, equally apropos for debugging)