Re: [SLUG] Procmail FAQs

From: Derek Glidden (dglidden@illusionary.com)
Date: Thu Jul 19 2001 - 14:51:48 EDT


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.

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#!/usr/bin/perl -w
$_='while(read+STDIN,$_,2048){$a=29;$b=73;$c=142;$t=255;@t=map
{$_%16or$t^=$c^=($m=(11,10,116,100,11,122,20,100)[$_/16%8])&110;
$t^=(72,@z=(64,72,$a^=12*($_%16-2?0:$m&17)),$b^=$_%64?12:0,@z)
[$_%8]}(16..271);if((@a=unx"C*",$_)[20]&48){$h=5;$_=unxb24,join
"",@b=map{xB8,unxb8,chr($_^$a[--$h+84])}@ARGV;s/...$/1$&/;$d=
unxV,xb25,$_;$e=256|(ord$b[4])<<9|ord$b[3];$d=$d>>8^($f=$t&($d
>>12^$d>>4^$d^$d/8))<<17,$e=$e>>8^($t&($g=($q=$e>>14&7^$e)^$q*
8^$q<<6))<<9,$_=$t[$_]^(($h>>=8)+=$f+(~$g&$t))for@a[128..$#a]}
print+x"C*",@a}';s/x/pack+/g;eval 

usage: qrpff 153 2 8 105 225 < /mnt/dvd/VOB_FILENAME \ | extract_mpeg2 | mpeg2dec -

http://www.eff.org/ http://www.opendvd.org/ http://www.cs.cmu.edu/~dst/DeCSS/Gallery/



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