Gnus development mailing list
 help / color / mirror / Atom feed
From: Kai Grossjohann <grossjohann@charly.informatik.uni-dortmund.de>
Cc: ding@ifi.uio.no
Subject: Re: Feature request ? (or help)
Date: 01 Aug 1996 18:06:13 +0200	[thread overview]
Message-ID: <vafybjz2ioa.fsf@ls6.informatik.uni-dortmund.de> (raw)
In-Reply-To: Arne Elofsson's message of 01 Aug 1996 16:25:26 +0200

>>>>> Arne Elofsson writes:

>>>>> Kai Grossjohann <grossjohann@charly.informatik.uni-dortmund.de>
>>>>> 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?


  reply	other threads:[~1996-08-01 16:06 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-07-31 13:17 Arne Elofsson
1996-07-31 14:01 ` Kai Grossjohann
1996-08-01 14:25   ` Arne Elofsson
1996-08-01 16:06     ` Kai Grossjohann [this message]
1996-08-01 17:21       ` David Worenklein
1996-08-05 11:39         ` Kai Grossjohann
1996-08-01 20:00       ` procmail AND /usr/spool/mail/me (was Re: Feature request ? (or help)) Jack Vinson
1996-08-01 21:12         ` David Worenklein
1996-08-02  6:50       ` nnml non-gnus-splitting etc was(Re: " Arne Elofsson
1996-08-05 11:43         ` Kai Grossjohann
1996-08-02  7:45       ` Feature request ? (or help) John Griffith
1996-08-02 17:13         ` Christopher Davis
1996-08-02 19:14           ` Steven L Baur
1996-08-03  6:55             ` Ed Donovan

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=vafybjz2ioa.fsf@ls6.informatik.uni-dortmund.de \
    --to=grossjohann@charly.informatik.uni-dortmund.de \
    --cc=ding@ifi.uio.no \
    /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).