Comment 6 for bug 22728

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Thu, 29 Sep 2005 11:03:06 -0500
From: Branden Robinson <email address hidden>
To: <email address hidden>, <email address hidden>
Subject: Re: Bug#330474: mutt: opens of same mbox by multiple mutt processes erase message bodies

--ikeVEW9yuYc//A+q
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

retitle 330474 mutt: rewrites Content-Length message header in mbox folders=
 to be zero, which subsequently causes mutt to nuke the entire message body
thanks

My initial diagnosis of this bug was overly complex.

Here's a repro recipe.

1) Open any mbox folder with "mutt -R". (-R means "read-only", you don't
have to do this, but it will allow you to observe the bug without
destroying your mail folder).

2) Tag one or messages in that folder.

3) Observe the Content-Length headers in the message(s) you've tagged. In
most cases of real-world mail, the header value will be non-zero.

4) C)opy the tagged message(s) to a new folder.

5) Quit.

6) Use $PAGER or $EDITOR to view the new folder.

7) Observe the Content-Length headers in the message(s). Note that they
are all zero.

8) Observe that the message body (or bodies) is/are still present.

9) Open the new folder with mutt. Don't specify -R this time.

10) Read the message(s) in it.

11) Observe that you can't read the message body.

12) Quit back to the index, and quit mutt. Don't use "exit". We want
changes written to the folder.

13) Use $PAGER or $EDITOR to view the new folder again.

14) WHERE THE HELL ARE THE MESSAGE BODIES?

Retitled bug accordingly.

I stand by the severity of this report.

I don't know if it's specific to mbox folders; that's just the only format
I ever use.

--=20
G. Branden Robinson | You are not angry with people when
Debian GNU/Linux | you laugh at them. Humor teaches
<email address hidden> | them tolerance.
http://people.debian.org/~branden/ | -- W. Somerset Maugham

--ikeVEW9yuYc//A+q
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iEYEARECAAYFAkM8EDkACgkQ6kxmHytGonw7PgCfcLzt4Vh7EwWLTfp+mVxKWRAd
xgAAoKuh+Dc9MIbVXvSUACkHIhWO7Gbg
=w5I6
-----END PGP SIGNATURE-----

--ikeVEW9yuYc//A+q--