From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/3951 Path: main.gmane.org!not-for-mail From: mdb@cdc.noaa.gov (Mark Borges) Newsgroups: gmane.emacs.gnus.general Subject: Re: Gnus5, procmail, and reading mail lists. Date: Mon, 13 Nov 1995 17:24:19 -0700 Organization: CIRES, University of Colorado Message-ID: <9511140024.AA00658@suomi.cdc.noaa.gov> References: <9511131748.AA25001@suomi.cdc.noaa.gov> NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035144767 28074 80.91.224.250 (20 Oct 2002 20:12:47 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:12:47 +0000 (UTC) Cc: ding@ifi.uio.no Return-Path: ding-request@ifi.uio.no Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by miranova.com (8.6.11/8.6.9) with ESMTP id RAA14437 for ; Mon, 13 Nov 1995 17:11:30 -0800 Original-Received: from cdc.noaa.gov (lorenz.Colorado.EDU [128.138.218.1]) by ifi.uio.no with SMTP (8.6.11/ifi2.4) id for ; Tue, 14 Nov 1995 01:24:21 +0100 Original-Received: from suomi by cdc.noaa.gov (5.0/SMI-SVR4) id AA11067; Mon, 13 Nov 1995 17:24:18 -0700 Original-Received: by suomi (5.0) id AA00658; Mon, 13 Nov 1995 17:24:19 -0700 Original-To: hildjj@fuentez.com In-Reply-To: Joe Hildebrand's message of 13 Nov 1995 13:16:19 -0700 X-Attribution: mb Xref: main.gmane.org gmane.emacs.gnus.general:3951 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:3951 Thanks for the tips, Joe and Steven... >>>>> "j" == Joe Hildebrand writes: j> you will have less difficulty if you use: j> $HOME/mail/spool/foo.spool $HOME/mail/spool/bar.spool OK. I gave up and used the extension. I also gave up and used ~/Mail instead of ~/mail. Gnus was stubborn about using the former for some reason. Perhaps I was setting it too late, I don't know. I was setting it in my `gnus-init-file', but it was being over-ridden. Is there a preferred place for setting nnmail-directory (I assume that's the correct variable to set)? j> fine. gnus uses movemail, which does locking. I have this at j> the top of my .procmailrc, though: j> # use lockfiles that Emacs movemail honours... otherwise you j> may lose mail LOCKEXT=+ OK. It sounds like it should be fine, then. I haven't had a problem with VM w/o the LOCKEXT above, but what the heck, I'll add it to my .procmailrc, too. j> try (setq nnmail-spool-file 'procmail) Yes, I suspected that but the doc-string wasn't clear to me. j> this was the old way. don't worry about it. Gnus takes care j> of everything, the way you are doing it. OK. Here are the nnmail related variables I explicitly set, in case anyone cares: ------------------------------------------------------------------------------ ;; mail reading stuff (setq nnmail-use-procmail t nnmail-directory (expand-file-name "~/Mail") ; this is the default anyway nnmail-spool-file 'procmail nnmail-split-methods nil nnmail-procmail-directory (expand-file-name "~/Mail/spool") ;nnmail-procmail-suffix nil ; just use the group name? I nnml-get-new-mail t ;nnmail-keep-last-article t ; supposed to be important ) ------------------------------------------------------------------------------ procmail delivers like into ~/Mail/spool/lists.foo.spool using recipes like: ### --------------------------------------- ## foo # :0 : * ^TOfoo-digest lists.foo.spool although it wasn't clear whether I should deliver into ~/Mail/spool/lists/foo.spool, (which turns out to be wrong) instead, since the group resides in ~/Mail/lists/foo. Anyway, then all one needs to do is follow the info page: ------------------------------------------------------------------------------ Go to the group buffer and type `G m'. When prompted, answer `foo' for the name and `nnmh' for the method. Repeat twice for the two other groups, `bar' and `mail.baz'. Be sure to include all your mail groups. That's it. You are now set to read your mail. An active file for this method will be created automatically. ------------------------------------------------------------------------------ i.e., I typed `G m' and answered `lists.foo' for the name and `nnml' for the method. Amazingly enough, it works! Thanks again. -mb-