From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/10284 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.gnus.user Subject: Automatically authenticating at local imap server Date: Sun, 03 Feb 2008 10:42:09 +0100 Message-ID: <87k5lmidfy.fsf@member.fsf.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1202031759 26395 80.91.229.12 (3 Feb 2008 09:42:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 3 Feb 2008 09:42:39 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Sun Feb 03 10:43:01 2008 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JLbNL-0005dM-OG for gegu-info-gnus-english@m.gmane.org; Sun, 03 Feb 2008 10:43:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JLbMt-0001KO-TI for gegu-info-gnus-english@m.gmane.org; Sun, 03 Feb 2008 04:42:31 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JLbMr-0001Gj-BL for info-gnus-english@gnu.org; Sun, 03 Feb 2008 04:42:29 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JLbMp-0001By-AK for info-gnus-english@gnu.org; Sun, 03 Feb 2008 04:42:28 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JLbMo-0001Be-Sw for info-gnus-english@gnu.org; Sun, 03 Feb 2008 04:42:26 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JLbMo-0003Tc-Ix for info-gnus-english@gnu.org; Sun, 03 Feb 2008 04:42:26 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JLbMd-0006iP-JK for info-gnus-english@gnu.org; Sun, 03 Feb 2008 09:42:15 +0000 Original-Received: from dslb-084-063-057-019.pools.arcor-ip.net ([84.63.57.19]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 03 Feb 2008 09:42:15 +0000 Original-Received: from tassilo by dslb-084-063-057-019.pools.arcor-ip.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 03 Feb 2008 09:42:15 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 35 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dslb-084-063-057-019.pools.arcor-ip.net User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:M71789bFEfEkEr0rwvO8AL2pUBM= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:10284 Archived-At: 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