From: David Worenklein <dcw@gcm.com>
Subject: Re: procmail AND /usr/spool/mail/me (was Re: Feature request ? (or help))
Date: 01 Aug 1996 17:12:26 -0400 [thread overview]
Message-ID: <9608012112.AA01800@gsdws023.it.gcm.com> (raw)
In-Reply-To: Jack Vinson's message of 01 Aug 1996 16:00:26 -0400
>>>>> "Jack" == Jack Vinson <jvinson@cheux.ecs.umass.edu> writes:
Jack> Okay, Lars and I have been having some problems with this
Jack> one for a while and it is still not resolved to my liking.
Jack>
Jack> I switched over to nnml a few months ago with procmail
Jack> (well, something like it) splitting the majority of my mail
Jack> into spool files on nnmail-procmail-directory. However, any
Jack> leftover mail gets left alone and goes into my
Jack> /usr/spool/mail/jvinson (my nnmail-spool-file) which is also
Jack> read when snarfing mail, according to the documentation on
Jack> nnmail-use-procmail.
Jack>
Jack> Now, I have all my mail groups set at levels 1 and 2 with
Jack> all my news non-mail groups set at 3 and below. As a
Jack> result, I should be able to simply 'C-u 2 g' to get new
Jack> mail. However, when I do this, the mail that has been
Jack> pre-split is correctly dumped into their corresponding nnml
Jack> groups, but the mail in nnmail-spool-file is all slurped
Jack> into a single mail group. This single mail group happens to
Jack> appear first in the list of groups in my .newsrc.eld.
Jack>
Jack> I would be happy if someone can corroborate this. Lars and
Jack> I would be happy if someone could come up with a source of
Jack> or solution to the problem.
If you have nnmail-spool-file set to 'procmail or nnmail-use-procmail
set to t, and nnmail-resplit-incoming set to f, gnus will not split
your mail. If you have nnmail-resplit-incoming set to t, gnus will
split all your mail, even the mail that came from a procmail spool
file.
The solution? Make nnmail-resplit-incoming a list of groups that
should be split -- all other groups should be left alone.
Sorry this isn't in patch form, but I don't have an original to diff
it against...
(defun nnmail-split-incoming (incoming func &optional exit-func group)
"Go through the entire INCOMING file and pick out each individual mail.
FUNC will be called with the buffer narrowed to each mail."
(let (;; If this is a group-specific split, we bind the split
;; methods to just this group.
(nnmail-split-methods (if (and group
(or (eq nnmail-spool-file 'procmail)
nnmail-use-procmail)
(or (not nnmail-resplit-incoming)
(and (functionp nnmail-resplit-incoming)
(eval (list nnmail-resplit-incoming group)))
(and (listp nnmail-resplit-incoming)
(not (member group nnmail-resplit-incoming)))))
(list (list group ""))
nnmail-split-methods)))
(save-excursion
...
Now, if only I could get message-send-mail-with-mh to work . . . :-(
--
David C. Worenklein GREENWICH CAPITAL
Operations Support M a r k e t s, Inc
=============================================================================
phone: 203-625-2945 ====
fax: 203-629-2535 ====
e-mail: dcw@gcm.com ====
next prev parent reply other threads:[~1996-08-01 21:12 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-07-31 13:17 Feature request ? (or help) Arne Elofsson
1996-07-31 14:01 ` Kai Grossjohann
1996-08-01 14:25 ` Arne Elofsson
1996-08-01 16:06 ` Kai Grossjohann
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 [this message]
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=9608012112.AA01800@gsdws023.it.gcm.com \
--to=dcw@gcm.com \
/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).