Fixing mutt header cache
Every now and then I have to kill mutt, which if done at the wrong time, can
leave the header cache in an open state. Then attempting to restart mutt will
cause it to hang at the "Selecting INBOX" stage. If mutt is compiled with
support for the Tokyo Cabinet header cache backend (as it appears to be in
Debian), a quick fix for this issue is to repair the header cache database using
the Tokyo Cabinet utility tcbmgr
from the
tokyocabinet-bin
package. Simply running tcbmgr optimize -nl
~/.mutt/cache/headers
does the trick, and is much nicer of a fix than
deleting the header cache.
Comments: To comment on this post, send me an email following the template below. Your email address will not be posted, unless you choose to include it in the link: field. If your web browser is configured to handle mailto: links, click comment to load the template into your mail client.
To: Ryan Kavanagh <rak@rak.ac> Subject: [blog-comment] /blog/2012-07-03-fixing-mutt-header-cache/ post_id: /blog/2012-07-03-fixing-mutt-header-cache/ author: [How should you be identified? Usually your name or "Anonymous"] link: [optional link to your website] Your comments here. Markdown syntax accepted.
0 Comments