From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/8402 Path: main.gmane.org!not-for-mail From: Holger Franz Newsgroups: gmane.emacs.gnus.general Subject: Re: Undigestifying incoming mail? Date: 16 Oct 1996 10:32:34 +0200 Sender: hfranz@ac3a50.physik.rwth-aachen.de Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.80) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035148567 11957 80.91.224.250 (20 Oct 2002 21:16:07 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:16:07 +0000 (UTC) Return-Path: Original-Received: (qmail 7824 invoked from smtpd); 16 Oct 1996 11:10:58 -0000 Original-Received: from ifi.uio.no (0@129.240.64.2) by deanna.miranova.com with SMTP; 16 Oct 1996 11:03:57 -0000 Original-Received: from ac3a50.physik.rwth-aachen.de (hfranz@acp3a0.physik.rwth-aachen.de [137.226.30.150]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Wed, 16 Oct 1996 10:35:17 +0200 Original-Received: by ac3a50.physik.rwth-aachen.de; (8.6.12/1.1.8.2/13Mar96-1030AM) id KAA16095; Wed, 16 Oct 1996 10:32:37 +0200 Original-To: ding@ifi.uio.no In-Reply-To: Steinar Bang's message of 16 Oct 1996 09:00:29 +0200 Original-Lines: 49 X-Mailer: Red Gnus v0.42/XEmacs 19.14 Xref: main.gmane.org gmane.emacs.gnus.general:8402 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:8402 >>>>> "Steinar" == Steinar Bang writes: >>>>> kees_de_bruin@tasking.nl (Kees de Bruin): >> I'm subscribed to a number of mailing lists that come in a >> digested form and are now processed using C-d in the summary >> buffer. However, what I would like is that the undigestifying is >> done while distributing the incoming mail over my nnml groups. Steinar> This should be possible to do with procmail delivery to a Steinar> spool mbox file (NB! I haven't actually tried it). I have tried it on the ding-rn-digest list an it worked just fine. A cookbook recipe: * Get procmail: ftp://ftp.informatik.rwth-aachen.de/pub/packages/procmail/ * Follow the installation procedure and note the subtleties involved with older versions of sendmail. * use a '.procmailrc' with something like: ---8<--- PATH=$HOME/bin:$HOME/Abin:/usr/bin:/usr/ucb:/bin:/usr/local/bin:. MAILDIR=$HOME/spool # You'd better make sure it exists DEFAULT=$MAILDIR/mbox.spool LOGFILE=$MAILDIR/from LOCKFILE=$HOME/.lockmail # An alternative and probably more efficient solution to splitting up a digest # would be (only works for standard format mailbox files though): :0: * ^Subject:.*Digest |formail +1 -ds cat >>mbox.spool # Anything that has not been delivered by now will go to $DEFAULT # using LOCKFILE=$DEFAULT$LOCKEXT ---8<--- The procmail package contains some more elaborate rules examples. Of course you will have to add (setq nnmail-use-procmail t nnmail-procmail-directory (expand-file-name "~/spool/") nnmail-resplit-incoming t) to your '.gnus'. Holger -- Holger Franz Caution: feeding Gnus to your XEmacs will make it fat.