Re: [SLUG] Procmail FAQs

From: Paul M Foster (paulf@quillandmouse.com)
Date: Thu Jul 19 2001 - 18:46:41 EDT


On Thu, Jul 19, 2001 at 02:51:48PM -0400, Derek Glidden wrote:

> Paul M Foster wrote:
> >
> > On Wed, Jul 18, 2001 at 11:41:37AM -0400, Ian C. Blenke wrote:
> >
> > > On Wed, Jul 18, 2001 at 11:05:08AM -0400, Derek Glidden wrote:
> > > >
> > > > If I read mail with Mutt, and "tag" some messages to be deleted without
> > > > actually deleting them on exit, and then open up Netscape, it can "tell"
> > > > that those messages have been flagged "deleted" and will indicate them
> > > > as such.
> > >
> > > I'm purely using mutt at the moment, and it tends to show the deleted
> > > messages only as read when I restart it. :(
> > >
> >
> > I just tested this (using mutt). Mutt apparently caches this information
> > while you're using it. After you have read a message, the raw mbox shows
> > Status: RO. In other words, the Status field only shows up after you
> > exit out of mutt.
> >
> > [....]
> >
> > The concept of "deleted" mail is only valid within a given MUA, I
> > believe. One MUA's deleted mail will not be understood by another as
> > deleted, probably because this is tracked in memory, not on disk.
>
> Yes and no.
>
> I know it's worked for me with mutt in the past - until Ian pointed it
> out that it wouldn't work, at which point it also stopped working for
> me. I hate Schroedingfeatures... :P
>
> However, I'm sure there's *some* flag that I can attach to an email
> message that at the very least Netscape and mutt will recognize as a
> "This message needs to be deleted" flag because I've gone into other
> mailfiles with mutt, which have *already* had "D" flags set on a few
> messages. Why am I sure of this? Because I've accidentally deleted
> messages with mutt without using mutt to tag them to be deleted. I just
> now need to track down what flag/header exactly is being used in these
> cases. Since I have something like 450MB of mailfiles lying around, I
> think this might be tough to track down the few messages that may have
> this flag set and find out what it is.
>

This is probably a trial-and-error thing, then. I just opened up my
spool file and added the 'D' flag to the Status field of a message, then
went into mutt to take a look at what happened. No sign I'd even done
it. Of course, this may change from version to version of mutt.

Paul



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 16:19:35 EDT