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

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

Automatically authenticating at local imap server


From: Tassilo Horn
Subject: Automatically authenticating at local imap server
Date: Sun, 03 Feb 2008 10:42:09 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux)

Hi all,

since a few days I run a local IMAP server that OfflineIMAP synchronizes
with my IMAP account at my email provider.  That works like a charm, but
there's one thing that doesn't work.

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)
|                       (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 tried adding (nnimap-authinfo-file "~/.authinfo") to the select method
specification, but that didn't help.

Bye,
Tassilo





reply via email to

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