info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: One more authinfo file posting


From: Reiner Steib
Subject: Re: One more authinfo file posting
Date: Wed, 09 Feb 2005 15:21:06 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

On Wed, Feb 09 2005, Stefan Kamphausen wrote:

> The problem is -once again- that the authinfo file defined in my
> nnimap settings won't be read.  I've tried (probably) all combinations
> of:
> - the name of the IMAP server (IP, FQDN, short name)
> - the port (143, imap, 993, none at all)
> and the matching settings in my .authinfo file ([1]).

It's hard to guess if you omit the most important part, the content of
the authinfo file (~/.imap-othermailbox).  Be sure to erase any
passwords.

> I would really like to see some messages in the *nnimap-debug* buffer,
> telling me for what it was looking in which file and what it found and
> why it chose not to use such a line.

As a quick check, use the following patch:

--8<---------------cut here---------------start------------->8---
--- nnimap.el   19 Sep 2004 19:59:10 +0200      6.71.2.6
+++ nnimap.el   09 Feb 2005 15:12:55 +0100      
@@ -722,7 +722,9 @@
                (imap-capability 'IMAP4rev1 nnimap-server-buffer))
       (imap-close nnimap-server-buffer)
       (nnheader-report 'nnimap "Server %s is not IMAP4 compliant" server))
-    (let* ((list (gnus-parse-netrc nnimap-authinfo-file))
+    (let* ((list (progn (gnus-message 7 "Parsing authinfo file `%s'."
+                                     nnimap-authinfo-file)
+                       (gnus-parse-netrc nnimap-authinfo-file)))
           (port (if nnimap-server-port
                     (int-to-string nnimap-server-port)
                   "imap"))
--8<---------------cut here---------------end--------------->8---

You should have a line like "Parsing authinfo file `~/.authinfo'." in
the " *Message-Log*" buffer.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]