From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/7406 Path: main.gmane.org!not-for-mail From: Kai Grossjohann Newsgroups: gmane.emacs.gnus.general Subject: Re: Feature request ? (or help) Date: 01 Aug 1996 18:06:13 +0200 Sender: grossjoh@charly.informatik.uni-dortmund.de Message-ID: References: Reply-To: Kai Grossjohann NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035147724 7129 80.91.224.250 (20 Oct 2002 21:02:04 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:02:04 +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 deanna.miranova.com (8.7.5/8.6.9) with SMTP id JAA20875 for ; Thu, 1 Aug 1996 09:24:04 -0700 Original-Received: from fbi-mail.informatik.uni-dortmund.de (fbi-mail.informatik.uni-dortmund.de [129.217.4.40]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Thu, 1 Aug 1996 18:07:07 +0200 Original-Received: from lucy.informatik.uni-dortmund.de by fbi-mail.informatik.uni-dortmund.de with SMTP (Sendmail 8.7.5/UniDo 3.15) id SAA06266; Thu, 1 Aug 1996 18:07:03 +0200 (MES) Original-Received: by lucy.informatik.uni-dortmund.de id SAA02371; Thu, 1 Aug 1996 18:06:15 +0200 Original-To: Arne Elofsson In-Reply-To: Arne Elofsson's message of 01 Aug 1996 16:25:26 +0200 Original-Lines: 66 X-Mailer: Gnus v5.2.37/Emacs 19.31 Xref: main.gmane.org gmane.emacs.gnus.general:7406 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:7406 >>>>> Arne Elofsson writes: >>>>> Kai Grossjohann >>>>> writes: Kai> You then have to change your mail splitting thingy so that it Kai> appends messages to a file rather than writing new files into a Kai> directory. Arne> Well I do not want to do that I really like the nnml backend Arne> as it is compatible with mh and is very fast. Obviously, there has been a misunderstanding here. nnmail-use-procmail and friends are fully compatible with all backends. Thus, there is no reason for you to give up using the nnml backend. Here's how it works. You put the following in .emacs or .gnus.el: (setq nnmail-use-procmail t) (setq nnmail-procmail-directory "~/spool/") (setq nnmail-procmail-suffix "\\.in") Now, have your mail splitting stuff write all messages for the foo.bar group into the following file: ~/spool/foo.bar.in When you then tell Gnus to get new news/mail, Gnus will read all the messages in ~/spool/foo.bar.in and it will put them into the foo.bar group. This works fine for whatever backend you have, be it nnml (which is what I have been using for a long time, together with the values you see above), nnfolder, nnbabyl or anything else. It might be, however, that the name of the spool file depends on the values of gnus-use-long-file-name and nnmail-use-long-file-names. Maybe the file is called ~/spool/foo/bar.in instead? Anyone? Also, I'm not sure if the suffix can be empty. There was a time where it couldn't be empty, but I'm not sure now. Also, not that this is a regexp. Kai> Also, very fancy mail splitting can be done from within Gnus so Kai> this is not really necessary. Arne> Yes I know, however some times I want to read my mail without Arne> starting emacs and I like to have a crontab splitting my mail Arne> in the background. I see. Well, this is not well addressed by the above. You would have to read the ~/spool/foo.bar.in files from without Emacs to get at the new mail. Would that be possible? Arne> I guess what I want is nnmail-use-procmail but for the nnml Arne> backend See above; it is very well possible. Maybe for what you were trying to do originally, nnmh is better suited. nnmh does not have the problems with corrupted active files and the like. kai -- What's a signature?