Subject: Auto save?

From: Stewart James <[email-masked]>
Date: Thu, 27 Sep 2001 14:39:35 +1000 (EST)

Hi,

I have been using pine for a while now, and finally having the time to get
serious I have started looking at some automation to keep better records.

What I want to do is auto-save all message (well most a !postmaster would
be good), into a folder for the sender. For instance if I sent myself one
it would go into auto-save/stewart.james or similar. And then I would love
to get the auto archiver to go through the entire autosave folder and
archive each mail folder (stewart.james-MON-YEAR).

Has anyone done anything like this within pine(under linux) 4.40?

Has anyone managed to mangle a more advanced archiving system? for
instance to be able to have a structure such as:

Mail/
  Archives/
    Security-Alerts/
      current (links 2 current month)
      2001/
        Jan
        Feb
    Sent-Mail/
      current
      2001/
        Jan/
        Feb/
    Incoming/ (An extention on the above auto-save mentioned)
      Sender1/
        current
        2001/
          Jan
          Feb
      Sender2/
        current
        2001/
          Jan
          Feb
I know at first glance it appears to be a complicated mess, but look at it
a couple of times, its a structure that would make personal archiving of
large amounts of mail simple. It's worth noting the extra level I place in
the "Incoming" tree. Under this system finding an email sent in Jan 2001
would be easy and as you nail down to the folder the screen would not look
cluttered as each year would only have maximum of 12 folders. The sent
mail structure could be expanded to make use of a structure like incoming
mail to mail it easier to locate email sent to someone.

Adding this sort of funtionality would be a serious undertaking, but it
would definately be a "feature" that would probably get used by anyone who
has a large amount oif email to deal with.

If anyone has a solution for my first part of my message I would love to
here.

Cheers,

Stewart James

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

---

From: Edo Chappa <[email-masked]>
Date: Wed, 26 Sep 2001 22:05:55 -0700 (PDT)

*** Stewart James ([email-masked]) wrote in the pine-info list on...:

:) What I want to do is auto-save all message (well most a !postmaster would
:) be good), into a folder for the sender.

If you want to save upon arrival, you need to set up a filter. Press M S R
F, and when you get to that screen press "?" for help and "A" to add one.
If you want to save into different folders upon quitting Pine, you can't
do that, although it's very useful. The only way to do it is by using a
patch that I wrote, which among other things does this. The patch is
called "define your own rules..." and can be obtained from my web page
(address below).

:) For instance if I sent myself one it would go into
:) auto-save/stewart.james or similar. And then I would love to get the
:) auto archiver to go through the entire autosave folder and archive each
:) mail folder (stewart.james-MON-YEAR).

You need to filter into something that is not an incoming folder and add
the name of the folders that you want to prune into the "pruned-folders"
configuration option.

:) Has anyone managed to mangle a more advanced archiving system? for
:) instance to be able to have a structure such as:

I usually keep all my incoming folders in a hidden directory parallel to
mail/, then I enter their definitions one by one in the incoming folders
section, so it looks like a bunch of folders and does not emphasize that
they live in a common directory. I also keep directories for people, as
opposed to folders, that is to say I keep a directory for "MadameX", where
I keep the folders, "sent-mail" and "saved-messages" for "MadameX", I also
have different structures for saved mail from mailing lists. Probably my
folder structure is more chaotic than yours, and the way I keep it is by
using the patch I mentioned before, which saves me *A LOT* of time.

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

---

From: Susan Dorsey <[email-masked]>
Date: Thu, 27 Sep 2001 11:46:26 -0600 (MDT)

We're running Pine 4.33 on Solaris 2.6.  A user is randomly getting a "bus
error" when opening Pine.  Then once he gets in and tries to jump to the
last message (there are nearly 2000) there's a mailbox lock message which
"will overide in 195 seconds."

Nothing in the Pine archives on this.  Is it a known error?

thanks

Susan Dorsey
Information Technology Services
University of Colorado at Boulder

---

From: Simon Kissler <[email-masked]>
Date: Thu, 27 Sep 2001 13:12:49 -0500 (CDT)

Susan,

I have noticed this when compiling LDAP support into pine 4.40 on Solaris
8 using openldap. My quick solution was to leave out the LDAP support,
which seems to have fixed it.

-Simon

On Thu, 27 Sep 2001, Susan Dorsey wrote:

> Received: from localhost by genesis with LMTP for
>     <[email-masked]>; Thu, 27 Sep 2001 12:48:17 -0500
> Received: from list1.u.washington.edu (list1.u.washington.edu
>     [140.142.8.99])
> 	by genesis.valpo.edu (SendmailServer-1.0.4/8.11.1) with ESMTP id
>     f8RHmGL06369
> 	for <[email-masked]>; Thu, 27 Sep 2001 12:48:17 -0500 (CDT)
> Received: from host (lists.u.washington.edu [140.142.56.13])
> 	by list1.u.washington.edu (8.11.6+UW01.08/8.11.6+UW01.08) with
>     SMTP id f8RHmDK07164;
> 	Thu, 27 Sep 2001 10:48:14 -0700
> Received: from mxu102.u.washington.edu (mxu102.u.washington.edu
>     [140.142.32.15])
> 	by lists.u.washington.edu (8.11.6+UW01.08/8.11.6+UW01.08) with
>     ESMTP id f8RHkSN60688
> 	for <[email-masked]>; Thu, 27 Sep 2001 10:46:28 -0700
> Received: from mxu2.u.washington.edu (mxu2.u.washington.edu
>     [140.142.32.9])
> 	by mxu102.u.washington.edu (8.11.6+UW01.08/8.11.6+UW01.08) with
>     SMTP id f8RHkSE06937
> 	for <[email-masked]>; Thu, 27 Sep 2001 10:46:28 -0700
> Received: FROM parvati.colorado.edu BY mxu2.u.washington.edu ; Thu Sep 27
>     10:46:27 2001 -0700
> Received: from localhost (dorsey@localhost)
> 	by parvati.colorado.edu (8.11.6/8.11.2/ITS-5.0/standard) with
>     ESMTP id f8RHkQu06570
> 	for <[email-masked]>; Thu, 27 Sep 2001 11:46:26 -0600 (MDT)
> Message-ID: <[email-masked]>
> Date: Thu, 27 Sep 2001 11:46:26 -0600 (MDT)
> Sender: [email-masked]
> Precedence: bulk
> List-Help: <http://www.washington.edu/computing/listproc/>
> List-Unsubscribe:
>     <mailto:[email-masked]?body=unsubscribe%20pine-info>
> List-Subscribe:
>     <mailto:[email-masked]?body=subscribe%20pine-info%20YourName>
> List-Owner: <mailto:[email-masked]> (Human contact
>     for the list)
> List-Post: <mailto:[email-masked]>
> From: Susan Dorsey <[email-masked]>
> To: Pine Discussion Forum <[email-masked]>
> Subject: bus error
> In-Reply-To:
>     <[email-masked]>
> MIME-Version: 1.0
> Content-Type: TEXT/PLAIN; charset=US-ASCII
> X-To: Pine Discussion Forum <[email-masked]>
> X-Listprocessor-Version: 8.1 -- ListProcessor(tm) by CREN
>

-------------------------------------------------------------------------------
Simon Kissler                                   [email-masked]
UNIX Systems Administrator			Phone: (219) 464 6773
Electronic Information Services                 Fax  : (219) 464 5381
Valparaiso University
Kretzmann Hall B22
Valparaiso, IN 46383
-------------------------------------------------------------------------------

		Without trust, you don't have anything.

-------------------------------------------------------------------------------

---

From: Stewart James <[email-masked]>
Date: Fri, 28 Sep 2001 13:01:54 +1000 (EST)

First off I would like to thank Mr. Chappa for his recent help, I ran into
trouble with the "Create your own rules patch" and he was kind enough to
take my bug report seriously and also fix the problem in only a really
short time.

Now back to my problem. Assuming others may have had the same idea and I
think I have made the mistake of linking /dev/clue to /dev/null I though I
would continue hassling the list ;)

My last email probably was not as clear as it could have been and of
course now I am trying to implement things my explanation may become a tad
clearer.

What I would like is a rule on incoming folders(I use IMAP), on all
messages not seen by pine before to SAVE (copy not move) to a folder for
each sender. sender1 into sender1 sender2 into sender2, issues:

* I can probably get something like this work if I lobbed all messages
into the one folder, however, I would like a seperate folder for each
sender.

* I do not want to move the messages on exit as I may have already done an
expunge during the session, and I would like to copy..not move.

* Finally I do not want to have to setup a rule for each person I
correspond some form of *vu.edu.au would be great. I hope that makes
sense.

I get the feeling that I may not be able to achieve this with pine in it's
current incarnation, or maybe there is someway to do it that I am just not
seeing. As I said right now I feel as if /dev/clue is linked against
/dev/null and any assistance is really appreciated.

Thanks again to Mr. Chappa and to others in the list that alwasy seem to
have \the answers.

Stewart

---

From: Eduardo Chappa <[email-masked]>
Date: Thu, 27 Sep 2001 21:57:06 -0700 (PDT)

:) What I would like is a rule on incoming folders(I use IMAP), on all
:) messages not seen by pine before to SAVE (copy not move) to a folder for
:) each sender. sender1 into sender1 sender2 into sender2, issues:

You can do that with the patch you downloaded, just make sure that you
set:

	    [X]  auto-move-read-msgs
            [X]  auto-move-read-msgs-using-rules
            [X]  expunge-only-manually
            [ ]  expunge-without-confirm

and define the read-message-folder also. That will copy all messages into
their respective folders as defined by the rules. The only thing that will
happen is that next time you open pine you will see all these messages
marked as deleted, but you can easily get rid of that by using the ";"
command.

:) * I do not want to move the messages on exit as I may have already done an
:) expunge during the session, and I would like to copy..not move.

The patch will move only messages that are not deleted and that have been
read.

:) * Finally I do not want to have to setup a rule for each person I
:) correspond some form of *vu.edu.au would be great. I hope that makes
:) sense.

The patch is very flexible, contact me if you want tips on how to set
these things up.

---

From: Rick Lewis <[email-masked]>
Date: Fri, 28 Sep 2001 15:57:10 -0700 (MST)

I've tried running Pine 4.40 with one of my config files, and it aborts,
yet earlier versions don't do the core dump.
I've tried it on two different systems and two different versions of
FreeBSD.
What seems to hang it up is the initial-keystrokes entry:
initial-keystroke-list=l,
	;,
	p,
	u,
	z

Configs without that entry, and this config after the entry has been
cleared, work fine.
I don't know if this happens on non-FreeBSD systems.
--Rick

---

From: Eduardo Chappa <[email-masked]>
Date: Fri, 28 Sep 2001 17:02:17 -0700 (PDT)

*** Rick Lewis ([email-masked]) wrote in the pine-info list today:

:) I've tried running Pine 4.40 with one of my config files, and it aborts,
:) yet earlier versions don't do the core dump.

As a principle no program should ever abort, for me a program that aborts
has a bug.

:) I've tried it on two different systems and two different versions of
:) FreeBSD.
:) What seems to hang it up is the initial-keystrokes entry:
:) initial-keystroke-list=l,
:) 	;,
:) 	p,
:) 	u,
:) 	z
:)

Someone reported this bug before, I do not recall where though. I have a
patch for it in my web page. Look under bug fixes.