Subject: Splitting Inbox?

From: Paul De Luca <[email-masked]>
Date: Sat, 12 May 2001 23:43:40 +1000

Hi,
     I would like to know is there a feature in Pine to apply filter rules 
to mail that has already been downloaded to my Inbox mailbox file? I am a 
subscriber to many mail lists and after installing Linux on my home 
computer, I forgot to set up my filters before downloading my email. Now I 
am stuck with +400 plus emails in my Inbox and would like these split into 
their respective separate mailbox files. If pine does not have a feature to 
solve my problem, are their any programs or scripts that are available that 
can do this? Any information will be appreciated.

pd 

-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------

---

From: Joel Boonstra <[email-masked]>
Date: Sat, 12 May 2001 13:40:02 -0400 (EDT)

> can do this? Any information will be appreciated.

There may be other ways to do this, but the one that comes to mind is the
aggregate command set.  In your pine config screen, check
'enable-aggregate-command-set', and save changes.  Back in your inbox, you
will then be able to use the ';' key to select multiple messages based on
various criteria.  Once they're selected, you can use the 'a' key to apply
a command to all of them (like save, or delete, or something else).

Hope that helps - when I discovered that, my whole view of pine changed...

-- 
Joel Boonstra
[email-masked]

---

From: Luca Heltai <[email-masked]>
Date: Sat, 12 May 2001 20:14:48 +0200 (ora legale Europa occ.)

> can do this? Any information will be appreciated.

Probably the fastest way of doing it is to use a program such as procmail.
In procmail man page there are very good example on how to organize any
file containing mail.
try
man procmailex
and
man procmailrc
once you've installed the software.

Hope that helps. It did with me... I managed to sort out 2000 messages
arrived in a range of 4 years...
:)

---

From: Eduardo Chappa <[email-masked]>
Date: Sat, 12 May 2001 16:07:14 -0700 (PDT)

*** Paul De Luca ([email-masked]) wrote in the pine-info list today:

:)      I would like to know is there a feature in Pine to apply filter rules
:) to mail that has already been downloaded to my Inbox mailbox file? I am a
:) subscriber to many mail lists and after installing Linux on my home
:) computer, I forgot to set up my filters before downloading my email.

I don't really get this, when you say that you forgot to set up filters,
you meant "procmail filters" or "pine filters"?

If you meant the former, then you need to apply the command:

formail -s procmail /path/to/rcfile < mailbox

if you meant the latter you just need to close your inbox and open it
again. Filters in pine are applied to messages that are already in your
INBOX and are applied when you open that mailbox.

-- 
Eduardo
http://www.math.washington.edu/~chappa/pine/