imap headers cache - Mutt
This is a discussion on imap headers cache - Mutt ; Hi all,
If I understand correctly, versions of mutt starting from 1.5.7 allow
the storing of imap headers in a local cache (see
http://wiki.mutt.org/index.cgi?HeaderCache ).
I have successfully downloaded and compiled mutt-1.5.9, I suppose that
I must add something to ...
-
imap headers cache
Hi all,
If I understand correctly, versions of mutt starting from 1.5.7 allow
the storing of imap headers in a local cache (see
http://wiki.mutt.org/index.cgi?HeaderCache).
I have successfully downloaded and compiled mutt-1.5.9, I suppose that
I must add something to my configuration file in order for the caching
feature to work. However, I have not been able to find what to do in
the configuration.
Any clues ?
-
Re: imap headers cache
Clemence Magnien:
> I have successfully downloaded and compiled mutt-1.5.9, I
> suppose that I must add something to my configuration file in
> order for the caching feature to work. However, I have not
> been able to find what to do in the configuration.
http://wwwcip.informatik.uni-erlange...sithglan/mutt/
Hendrik
-
Re: imap headers cache
Hendrik Mangels wrote:
> Clemence Magnien:
> http://wwwcip.informatik.uni-erlange...sithglan/mutt/
Hi, I should have mentioned that I did find this page but could not
figure it out.
It says the imap part of mutt-hc is integrated in mutt CVS HEAD
(mutt-1.5.7), so I should not need to apply a patch to use imap
headers caching, should I?
I think I am missing something but cannot find what.
Clemence
-
Re: imap headers cache
Hello Clemence,
download mutt-1.5.7 or later. And run the *configure* command with the
additional "--enable-hcache" and "--enable-imap". Than add the following
line to your .muttrc:
set header_cache=/tmp/clemence-hcache
if mutt doesn't know about the header cache variable than you compiled
it the wrong way. Get sure that you start the right executable. The
first open of a large mailbox takes a bit longer while consecutive opens
are very fast compared to the uncached version.
Thomas
-
Re: imap headers cache
On 3 Jun 2005 08:11:29 GMT, Thomas Glanzmann wrote:
> set header_cache=/tmp/clemence-hcache
Using /tmp may be a little unwise. Some linux distros (Debian
certainly) clean /tmp on bootup so *bang* goes your cache. A hidden
file in ~/ could be much handier.
--
Stephen Patterson steve@patter.mine.nu http://patter.mine.nu/
Linux Counter No: 142831 GPG Public key: E3E8E974
"Whoever said nothing is impossible never tried slamming a revolving door."
-- Melissa O'Brien
-
Re: imap headers cache
Hello,
> Using /tmp may be a little unwise. Some linux distros (Debian
> certainly) clean /tmp on bootup so *bang* goes your cache. A hidden
> file in ~/ could be much handier.
so what? If it gets wiped you rebuild it. And for example our machines
have /tmp on shmfs which makes the cache even faster. And if your HOME
directory is NFS shared it is just bullshit to put your cache in.
For more than 5thousand messages to cache it is wise to let header_cache
point to a directory which scales a lot better than the single file
approach.
Thomas
-
Re: imap headers cache
Thomas Glanzmann wrote:
> Hello Clemence,
> download mutt-1.5.7 or later. And run the *configure* command with the
> additional "--enable-hcache" and "--enable-imap". Than add the following
> line to your .muttrc:
>
> set header_cache=/tmp/clemence-hcache
>
Thanks for the answer!
As a matter of fact I had already tried that, and configure had failed.
I had assumed that it was because I had picked up a wrong version of
mutt or something.
As it is, the error message is:
configure: error: You need Sleepycat DB4 or GDBM for --enable-hcache,
although I do have gdbm installed, in a non standard location.
I will have to find a way to make it aware of gdbm.
Thanks,
Clemence
-
Re: imap headers cache
* Clemence Magnien on Sat, Jun 04, 2005:
> As a matter of fact I had already tried that, and configure had failed.
> I had assumed that it was because I had picked up a wrong version of
> mutt or something.
>
> As it is, the error message is:
> configure: error: You need Sleepycat DB4 or GDBM for --enable-hcache,
> although I do have gdbm installed, in a non standard location.
> I will have to find a way to make it aware of gdbm.
I gather from your postings to fink-users that you've installed
gdbm via fink?
Try something like the following before compiling:
export CFLAGS="-I/sw/include"
export LDFLAGS="-L/sw/lib"
export CXXFLAGS="$CFLAGS"
export CPPFLAGS="$CXXFLAGS"
export ACLOCAL_FLAGS="-I/sw/share/aclocal"
export PKG_CONFIG_PATH='/sw/lib/pkgconfig'
Worked for me.
c
--
_B A U S T E L L E N_ lesen! --->> <http://www.blacktrash.org/baustellen.html>
-
Re: imap headers cache
Christian Ebert wrote:
> I gather from your postings to fink-users that you've installed
> gdbm via fink?
>
> Try something like the following before compiling:
>
> export CFLAGS="-I/sw/include"
> export LDFLAGS="-L/sw/lib"
> export CXXFLAGS="$CFLAGS"
> export CPPFLAGS="$CXXFLAGS"
> export ACLOCAL_FLAGS="-I/sw/share/aclocal"
> export PKG_CONFIG_PATH='/sw/lib/pkgconfig'
>
> Worked for me.
I am indeed using fink, and your solution worked perfectly! 
Thank you very much,
Clemence
(concerning the actual location of the cache, I think it matters
little to me as I am using a laptop)
Similar Threads
-
By Application Development in forum Mutt
Replies: 1
Last Post: 01-16-2007, 02:56 PM
-
By Application Development in forum Pegasus
Replies: 3
Last Post: 06-13-2006, 02:49 PM
-
By Application Development in forum IMAP
Replies: 0
Last Post: 02-25-2005, 06:38 PM
-
By Application Development in forum Pegasus
Replies: 14
Last Post: 01-31-2005, 06:11 PM
-
By Application Development in forum Mutt
Replies: 0
Last Post: 07-16-2004, 02:14 AM