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



_______________________________________________
info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to