<<< Date Index >>>     <<< Thread Index >>>

Re: mutt cache sensitivity



On Wednesday, 28 March 2007 at 12:31, Kyle Wheeler wrote:
> Hello,
> 
> The mutt message cache is kinda touchy, and if mutt and/or the connection 
> dies unexpectedly, it corrupts the cache. What happens is that partial 
> messages get saved to the cache, and later mutt trusts the cache to be 
> correct even when it is obvious that it is not (i.e. the server says the 
> message is n-bytes long and the cache file is 0-bytes long).
> 
> It seems to me that mutt should cache messages to a temporary location and 
> only move them into the official message cache once the message has been 
> fully downloaded.

Sounds like a fine plan. It should be about the same amount of work to
unlink the file on failure though.

Attachment: pgpze7jZKlx8d.pgp
Description: PGP signature