From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/11924 Path: news.gmane.org!not-for-mail From: Dan Davison Newsgroups: gmane.emacs.gnus.user Subject: Re: Getting started reading mail stored in local maildir Date: Thu, 12 Feb 2009 14:55:58 +0000 (UTC) Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1234450606 4552 80.91.229.12 (12 Feb 2009 14:56:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Feb 2009 14:56:46 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Thu Feb 12 15:58:00 2009 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 1LXd0d-0004nK-At for gegu-info-gnus-english@m.gmane.org; Thu, 12 Feb 2009 15:57:47 +0100 Original-Received: from localhost ([127.0.0.1]:57321 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LXczJ-0000R1-Gj for gegu-info-gnus-english@m.gmane.org; Thu, 12 Feb 2009 09:56:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LXcz5-0000Gu-9n for info-gnus-english@gnu.org; Thu, 12 Feb 2009 09:56:11 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LXcz4-0000GG-GJ for info-gnus-english@gnu.org; Thu, 12 Feb 2009 09:56:10 -0500 Original-Received: from [199.232.76.173] (port=53282 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LXcz4-0000G0-53 for info-gnus-english@gnu.org; Thu, 12 Feb 2009 09:56:10 -0500 Original-Received: from main.gmane.org ([80.91.229.2]:41531 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 1LXcz3-0006Ll-ID for info-gnus-english@gnu.org; Thu, 12 Feb 2009 09:56:09 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LXcz1-0004gi-RS for info-gnus-english@gnu.org; Thu, 12 Feb 2009 14:56:07 +0000 Original-Received: from dynamic-oit-lifenet-c-1.Princeton.EDU ([128.112.20.52]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 12 Feb 2009 14:56:07 +0000 Original-Received: from davison by dynamic-oit-lifenet-c-1.Princeton.EDU with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 12 Feb 2009 14:56:07 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 86 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 128.112.20.52 (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.5) Gecko/2008121622 Ubuntu/8.10 (intrepid) Firefox/3.0.5) X-detected-operating-system: by monty-python.gnu.org: GNU/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:11924 Archived-At: Richard Riley gmail.com> writes: > > > Dan Davison stats.ox.ac.uk> writes: > > > I want to try out gnus, but have got nowhere so far. I would > > greatly appreciate instruction on how to read mail stored > > locally in maildirs. > > > > My email is downloaded by getmail, and stored by procmail > > into a variety of maildirs stored under ~/email/. However in > > order to start playing with gnus, I have created the > > directory ~/Maildir containing a single maildir-format > > directory: > > > > ~> ls ~/Maildir/dan-mail/ > > cur new tmp > > > > My ~/.gnus.el contains > > > > (setq gnus-select-method '(nnnil "")) > > (setq gnus-secondary-select-methods > > '((nnmaildir "" (directory "/home/dan/Maildir/")))) > > > > When I start gnus I enter a (Group Plugged) buffer which is > > empty with the message "No more unread newsgroups". When I > > hit "L" I see > > > > 0: nndraft:queue > > 0: nndraft:drafts > > > > When I hit "^" I enter a (Server Plugged) buffer containing > > > > {nnfolder:archive} (closed) > > > > RET on that line results in a message "Connecting to archive > > ... done", after which "L" displays > > > > {nnfolder:archive} (opened) > > > > > > This isn't the first time I've lost a few hours trying to get > > started with gnus, so I am giving up and sending > > this (admittedly pathetic) email. > > > > Thanks for any help! > > > > Dan > > > > > > I used to use local Maildir so know it works. I cant remember > what i did though, but did you try here? > > http://www.emacswiki.org/emacs/UsingProcmailWithGnus#toc3 > Thanks Richard, I did not. Stupidly I had been googling for gnus+getmail but not gnus+procmail, and I hadn't arrived at the correct combination of mail-sources and select-methods. So I'm up and running now with the following based on that EmacsWiki (setq gnus-select-method '(nnmaildir "email" (directory "~/email-gnus/"))) (setq gnus-secondary-select-methods '((nntp "news.gmane.org"))) (setq mail-sources (mapcar (lambda(dir) (list 'maildir :path dir :subdirs '("cur" "new" "tmp"))) (directory-files "~/email-gnus" nil "^[^.]"))) One question for now: I've resorted to using the web to post this! I couldn't find this thread in nntp+news.gmane.org:gmane.emacs.gnus.general, and of course my subscription to the mailing list postdated this message. So I didn't know how to use gnus to reply to this thread with the correct headers. Why isn't this thread in the newsgroup? Dan