From: Reiner Steib <reinersteib+gmane@imap.cc>
To: info-gnus-english@gnu.org
Subject: Re: Automatically authenticating at local imap server
Date: Sun, 03 Feb 2008 12:00:11 +0100 [thread overview]
Message-ID: <v93asa5mpw.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <87k5lmidfy.fsf@member.fsf.org>
On Sun, Feb 03 2008, Tassilo Horn wrote:
> Everytime I start Gnus it asks me how to logon at the local IMAP server,
> but instead I want that it uses the username and password that are in my
> ~/.authinfo.
>
> Here's the Gnus side of the configuration:
>
> ,----[ ~/.gnus.el ]
> | (require 'nnir)
> | (add-to-list 'gnus-secondary-select-methods
> | '(nnimap "Fastmail"
> | (nnimap-address "localhost")
> | (nnimap-server-port 143)
If you use a standard port, you can omit it here.
> | (nnimap-stream network)
> | (nnimap-authenticator login)
> | (nnir-search-engine imap)))
> `----
>
> In my ~/.authinfo I have:
>
> ,----[ ~/.authinfo ]
> | machine Fastmail login heimdall password XXX port imap force yes
> | machine localhost login heimdall password XXX port imap force yes
> `----
I don't see anything obvious. (Though one of the entries seem
redundant, "port imap" as well, IIRC.)
So I'd suggest to edebug `imap-interactive-login' and
`nnimap-open-connection'.
In a nutshell (see (info "(elisp)Edebug") for details):
- Require imap and nnimap. Put the cursor inside the function
definitions in imap.el/nnimap.el and press `C-u C-M-x'.
- Repeat the problem. Step through the code using `SPC' or `n' and
watch the results of the evaluated expressions in the echo area (or
*Messages*).
- You may also evaluate expressions using `e' (including let-bound
variable, etc.) and jump to a specified location: (info
"(elisp)Edebug Eval"), (info "(elisp)Jumping"), ...
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
next prev parent reply other threads:[~2008-02-03 11:00 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-03 9:42 Tassilo Horn
2008-02-03 11:00 ` Reiner Steib [this message]
2008-02-04 9:06 ` Tassilo Horn
2008-02-06 20:17 ` Reiner Steib
2008-02-07 9:57 ` Tassilo Horn
[not found] <mailman.6898.1202031751.18990.info-gnus-english@gnu.org>
2008-02-03 20:29 ` Gour
2008-02-04 8:39 ` Tassilo Horn
2008-02-04 14:33 ` David
2008-02-04 19:40 ` Tassilo Horn
2008-02-04 22:22 ` David
2008-02-05 8:32 ` Tassilo Horn
2008-02-05 10:53 ` David
2008-02-05 12:16 ` Tassilo Horn
[not found] ` <mailman.6972.1202163783.18990.info-gnus-english@gnu.org>
2008-02-05 17:00 ` Ted Zlatanov
2008-02-05 21:58 ` David
2008-02-06 9:17 ` Tassilo Horn
2008-02-06 11:56 ` David
[not found] ` <mailman.7011.1202248745.18990.info-gnus-english@gnu.org>
2008-02-06 15:24 ` Ted Zlatanov
2008-02-06 20:07 ` David
[not found] ` <mailman.7050.1202328476.18990.info-gnus-english@gnu.org>
2008-02-15 22:35 ` Ted Zlatanov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=v93asa5mpw.fsf@marauder.physik.uni-ulm.de \
--to=reinersteib+gmane@imap.cc \
--cc=Reiner.Steib@gmx.de \
--cc=info-gnus-english@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).