-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday 05 April 2003 12:43, Tzafrir Cohen wrote:
> > I could be wrong, but I always thought that deleting a 1k msg from the 
middle
> > of a 100mb mbox file doesn't cause any copying right away. It just marks 
the
> > msg as deleted by changing a byte or two in its header, and so doesn't 
show
> > it to you anymore.
>
> There is no index to mark it in. Or do you intend to write on the place
> of the message? Anyway, the format has no specifications regarding
> "deleted" messages.

Well, I just ran a test in kmail - created an mbox with about 12,000 real-life 
msgs, restarted kmail, deleted a few msgs from the middle of the mbox, 
restarted kmail again. Checking the mbox file on disk, the deleted msgs were 
still there. So it must have marked them as deleted somehow.

Of course, in addition to the 40mb mbox file kmail also created two index 
files, ont of which was about 4mb large. So the information might have been 
in those. I don't know if that means kmail doens't confirm to the mbox 
standard. But, it's what led me to make the above claim.

- --
Dan Armak
Matan, Israel
Public GPG key: http://www.gentoo.org/~danarmak/danarmak-gpg-public.key
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+jrtSUI2RQ41fiVERAs7iAJ99Kx/OTknf15whtQ1ysGQv+qsWfwCfS47f
1rsNgsw8TYzEhVz+9L0NAIA=
=Dz36
-----END PGP SIGNATURE-----


================================================================To unsubscribe, send 
mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to