[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [mutt] label mails with colored tags



On Fri, Oct 23, 2009 at 19:00 -0500, Nate Bargmann wrote:
> Since a couple of you are recommending maildir, is there an easy way to
> transisition from mox format to maildir?  For example, my indox file is
> 1.3 GiB and if I delete a message from more than a few days old it can
> take several minutes before the writing is complete.  (Yes, I should
> manage my inbox better...)
How do you stand that? I would say it's time for maildirs. ;-)

There are plenty of scripts to do this, but maybe:

http://batleth.sapienti-sat.org/projects/mb2md/

just works for you? Just install it with:

# aptitude install mb2md

If there is a better one I would hope that it will be mentioned by
another reader.  You could also just google for "mbox2maildir", "convert
mbox to maildir" and the like.

> I also have my procmail working well sort each mailing list into its
> own mbox file.  How drastic would those changes be?

What change? The conversion itself or adapting the procmail rules to use
maildirs instead of mboxes? Both are not hard, the conversion will take
some time and the latter will be as easy as just appending a '/' at the
end of the rule.

Some mutt unrelated performance tips.

* read: http://www.mutt.org/doc/devel/manual.html#tuning

and compile your own version of mutt that enables tokyocabinet. This is
a bug in Debian which was closed although it shouldn't have been [1].

To compile it yourself you have to:

$ apt-get source mutt

Apply the following patch to mutt-X.Y.Z/debian/rules

--- snip ---
--- mutt-1.5.20/debian/rules    2009-10-24 11:39:17.000000000 +0200
+++ mutt-1.5.20-tokyo/debian/rules  2009-10-07 12:29:00.000000000 +0200
@@ -10,8 +10,9 @@
 ###
 # header cache backend
 # HCACHE_DB := bdb
-HCACHE_DB := gdbm
+# HCACHE_DB := gdbm
 # HCACHE_DB := qdbm
+HCACHE_DB := tokyocabinet
 ###
 # GPGME backend
 GPGME := --enable-gpgme
@@ -34,6 +35,9 @@
 ifeq ($(HCACHE_DB),qdbm)
     hcache_db := --without-gdbm --without-bdb --without-tokyocabinet
 endif
+ifeq ($(HCACHE_DB),tokyocabinet)
+    hcache_db := --without-gdbm --without-qdbm --without-bdb --enable-tokyocabinet
+endif
 
 confflags =    --prefix=/usr           \
        --sysconfdir=/etc       \
--- snip ---

$ dch -l+tokyocabinet
$ dpkg-buildpackage -rfakeroot -uc -b
$ dpkg -i mutt-X.Y.Z.deb

I really hope that this wishlist bug gets fixed or at least reopened.

kind regards

    Wolodja

Attachment: signature.asc
Description: Digital signature


Reply to: