[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    [Bug 57748] New: Kmail Moved Message Corruption
From:       Doug Ward <dwdraw () bellsouth ! net>
Date:       2003-04-26 18:11:30
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=57748     
           Summary: Kmail Moved Message Corruption
           Product: kmail
           Version: unspecified
          Platform: Debian testing
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kmail@kde.org
        ReportedBy: dwdraw@bellsouth.net


Version:            (using KDE KDE 3.1.1)
Installed from:    Debian testing/unstable Packages
Compiler:          GCC 3.2/Debian Unstable 
OS:          Linux

I have been using kmail for a while, and have run across the following several times. \
It is reproducable on more than one clean install of Debian GNU/Linu


Most frequently reproducible:
(Every 2-3 days)

Moving messages to _new_ mail-dir folders causes relevant .index files to become \
corrupt.  The header and body of the corrupted messages are missing, and the arrival \
is set to the epoch.  The message size remains unchanged, so the message still exists \
outside of the index.

Scope:
Not all moved messages are unreadable.  Newer messages seem to have better luck in \
making the move.  Some of the lucky messages have been downloaded in past instances \
of Kmail, so it appears not to be an issue of only mesages downloaded in the current \
instance surviving.  Also, both encrypted and unencrypted/unsigned messages are \
affected.

HOWTO:
The easiest way to reproduce the error is to create a new sub-folder and move \
messages to that subfolder (drag-and-drop).


Less frequent:

Moving large volumes of messages to _existing_ mail-dir folders causes relevant \
.index files to become corrupt.  The corruption is the same as described above.

Scope:
This is the same as above.

HOWTO:
Move a large amount of messages to another, existing mail-dir folder.


Least frequent:
(Happened twice in 3 months)

The .index is corrupted AND the message body is deleted.  Going to the appropriate \
directories on a console (~/Mail/.xyz.sorted/xyz/*) reveals that the messages are \
there, but doing a cat foobar reveals the message contains _part_ of the header, and \
no body.

Scope:
Unkown due to the rareness.  When it happens, it appears to affect the same number of \
mesages as above.  Note that this has not happened when moving several hundred \
messages.

HOWTO:
This does not seem to be reproducible.  I believe it to be a result of something I \
did.


Fix:
Deleting the corrupt .index files in _all_ directories allowed kmail to read the \
affected messages.  For the deleted messages, untarring the backup did the trick.

Notes:
I generally leave kmail running for hours at a time.  Sometimes it is left running \
for several days. When the filters move the mail, there is no corruption.
One of the filters is spamassassin (2.53), setup as described on \
<http://kmail.kde.org/tools.html>.  There seems to be no correlation between messages \
filtered through spamassassin and corrupted messages. \
_______________________________________________ KMail Developers mailing list
kmail@mail.kde.org
http://mail.kde.org/mailman/listinfo/kmail


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic