mutt/2096: eats mail by setting content-length to zero in mboxes
>Number: 2096
>Notify-List: 330474@xxxxxxxxxxxxxxx
>Category: mutt
>Synopsis: eats mail by setting content-length to zero in mboxes
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: mutt-dev
>State: open
>Keywords:
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Sep 29 23:24:29 +0200 2005
>Originator: Branden Robinson
>Release: CVS 2005-09-24
>Organization:
>Environment:
>Description:
This is Debian Bug#330474, filed at severity critical, which you can read in
http://bugs.debian.org/330474. In summary:
- reproducable on, at least, powerpc (but not on i386)
- loosing mail occurs in two steps:
- a mailbox is opened, and then the Content-Length of its messages is set to 0
- the mailbox is reopened; if there's modifications to it, the messages with
Content-Lenght set to 0 get truncated
Se the How-To-Repeat section.
>How-To-Repeat:
Any mbox should do, but I've used this one-message-only one:
http://people.debian.org/~adeodato/tmp/2005-09-29/mutt-eating-mail/mbox.gz
mutt -f mbox
<ENTER>
qq
cat mbox
# notice the Content-Length header
mutt -f mbox
wn
q
cat mbox
>Fix:
Reverting the introduction of fseeko/ftello fixes
(http://people.debian.org/~adeodato/tmp/2005-09-29/mutt-eating-mail/revert-this.diff),
but it would be better to investigate and come with a real fix.
>Add-To-Audit-Trail:
>Unformatted: