Subject: [Pine] possible bug?

From: Tony Tung <[email-masked]>
Date: Thu, 3 May 2001 16:30:01 -0500 (CDT)

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?

Thanks.

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

---

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

*** 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.

Hmm, quite interesting. But it's not clear from your message how to
reproduce the bug. Here are a few questions that I have:

 - What's the definition of the score rule? (you can change parameters to
protect privacy if you like), just give us the important details. If you
can copy the definition from your .pinerc it's better.

 - Is that the only score rule that is affected by the message?
 - In which folder are you in when you try to save?
 - Is the folder that you try to save local or remote?
 - Does the message that you try to save contain attachments?

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

---

From: Tony Tung <[email-masked]>
Date: Thu, 3 May 2001 17:34:31 -0500 (CDT)

> can copy the definition from your .pinerc it's better.

LIT:pattern="/NICK=Owner-From/FROM=resume@owner,mailman-owner@owner/FLDTYPE=EMAIL" action="/ISSCORE=1/SCORE=-1"

>  - Is that the only score rule that is affected by the message?

I believe so.

>  - In which folder are you in when you try to save?

I tried this from INBOX and from a local mail folder.

>  - Is the folder that you try to save local or remote?

Local.

>  - Does the message that you try to save contain attachments?

Nope.

Also, I am using Pine 4.33 on FreeBSD 4.2 if that makes any difference.

---

From: Eduardo Chappa <[email-masked]>
Date: Thu, 3 May 2001 20:27:12 -0700 (PDT)

:) 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.