Gnus development mailing list
 help / color / mirror / Atom feed
From: Holger Franz <hfranz@physik.rwth-aachen.de>
Subject: Re: Undigestifying incoming mail?
Date: 16 Oct 1996 10:32:34 +0200	[thread overview]
Message-ID: <vciv8b48d9.fsf@ac3a50.physik.rwth-aachen.de> (raw)
In-Reply-To: Steinar Bang's message of 16 Oct 1996 09:00:29 +0200

>>>>> "Steinar" == Steinar Bang <sb@metis.no> 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 <hfranz@physik.rwth-aachen.de>                             

Caution: feeding Gnus to your XEmacs will make it fat.


      reply	other threads:[~1996-10-16  8:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-10-14  6:33 Kees de Bruin
1996-10-14 20:25 ` Lars Magne Ingebrigtsen
1996-10-16  7:00 ` Steinar Bang
1996-10-16  8:32   ` Holger Franz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=vciv8b48d9.fsf@ac3a50.physik.rwth-aachen.de \
    --to=hfranz@physik.rwth-aachen.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).