Subject: pine setscores problem

From: Matt Ackeret <[email-masked]>
Date: Fri, 4 May 2001 17:24:42 -0700 (PDT)

On Fri, 4 May 2001 [email-masked] wrote:
>Date: Thu, 3 May 2001 20:27:12 -0700 (PDT)
>From: Eduardo Chappa <[email-masked]>
>To: Tony Tung <[email-masked]>
>Cc: Pine Discussion Forum <[email-masked]>
>Subject: Re: [Pine] possible bug?
>Message-ID: <[email-masked]>
>
>*** Tony Tung ([email-masked]) wrote in the pine-info list today:
>
>:) When I attempt to save a message to a different folder, I get a warning:
>:)
>:) "Deleted message parts NOT included in saved copy"
>:)
>:) The saved copy looks completely corrupt.
>:)
>:) I gradually isolated this to a setscore rule that this messages matches
>:) on.  If I remove the setscore rule, saving the same message works fine.
>:) With the setscore rule, I get this error.
>:)
>:) Is this a known issue?
>
>Congratulations, you've found a bug!. Here's are the steps to reproduce
>it, for anyone that wants to test it.
>
> - create a score rule for your own e-mail address, with just your from
>   address, and set any score to it.
> - Send a message to yourself.
> - save the message in any folder (I assume that saved messages are marked
>   deleted)
> - Edit the score rule that you created, and save the changes (you do not
>   need to make changes to it, just pressing return a couple of times
>   serves the purpose)
> - Save the same message again.
>
>  You'll see the message about "deleted parts" in the bottom of the
>screen, and then when you go to see the message you'll see that the
>headers of the message are part of the body of the message.

This sounds very similar to or the same as the problem I've
been mentioning within the last few months...

When I have been *manually* saving messages from one folder to another,
some of them have the headers included as part of the message.
(I believe my last message on the topic was that I had found two distinct
messages, both messages from the "ShopTalk" mailing list, where one
would consistently screw up when saving it, and one wouldn't..)

I have two score rules,
Nickname        = To me or my mailing lists
Recip pattern   = [email-masked],[email-masked],rebates@ya...

Current Folder Type =
            (*)  Specific
                 Folder List = INBOX

Message is Important? =
            Set    Choose One
            ---  --------------------
            (*)  Don't care, always matches

Message is New? =
            (*)  Yes

Message is Deleted? =
            (*)  No

Message is Answered? =
            Set    Choose One
            ---  --------------------
            (*)  Don't care, always matches

Score Value     = 100

(and another one the same, FROM me)

and then a filter rule that filters anything that DOESN'T match those,
to my suspected_spam folder.

I do remember at one point I accidentally matched all messages instead
of new messages..

I guess I'll have to play with this.  I really don't think my
situation dealt with editing the score rule in the same session though.

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

---

From: Steve Hubert <[email-masked]>
Date: Thu, 31 May 2001 14:44:30 -0700 (PDT)

I believe the attached patch might fix this problem.

-- 
Steve Hubert <[email-masked]>
Networks and Distributed Computing, Univ. of Washington, Seattle

---

From: Eduardo Chappa <[email-masked]>
Date: Thu, 31 May 2001 15:15:02 -0700 (PDT)

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

:) I believe the attached patch might fix this problem.

It does fix the problem for me. I hope it does also for the original
poster. Thanks for the patch Steve.

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

---

From: Tony Tung <[email-masked]>
Date: Thu, 31 May 2001 15:55:18 -0700 (PDT)

> poster. Thanks for the patch Steve.

Works for me too.

Thanks!