Re: mutt not reading header_cache during startup.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Saturday, September 19 at 10:33 PM, quoth Manish Katiyar: I can see a big cached file created, but after it finishes downloading my 80K mails, it says Error opening mailbox. If I start mutt again it again starts downloading headers rather than reading from the cache. For whatever reason, Gmail doesn't like it when people attempt to pull down lots of headers (which is precisely what mutt does). So, after a certain number (I don't know how many), it simply refuses to continue and sends a response saying, essentially, your command has failed. Now, mutt can handle this several different ways. The way mutt currently handles it is by assuming that failed commands cannot be trusted even a little bit, so any headers transferred by the failed command are considered unlikely to be accurate, and are thus ignored. I think you can make a valid argument that this isn't good behavior on mutt's part (as such, take it up with mutt-dev), but it seems to me that this is simply an attempt to work around yet more gmail IMAP idiocy (see the list archives for all the various issues people have with gmail's truly awful IMAP implementation). :( ~Kyle - -- It only takes 20 years for a liberal to become a conservative without changing a single idea. -- Robert Anton Wilson -BEGIN PGP SIGNATURE- Comment: Thank you for using encryption! iQIVAwUBSrYf2yuveozR/AWeAQiY+w/8CrQztIXq/Yxe2v4WuUF6qNmIpGCgxepz zGh0ckly8meHs6S4yjyz062w2JpjWyoEAF2vbUxHmJ5TzHPHKoMK18Hwq4GdYX6D tMsq4aEQXFr8ZhAT/N5m5rQ6P3nQDKwnqaTRhGDwqsSCY9UDm3Xyzz0LHyOzNVKZ BiT2KgXjmbenmpnJmISCD9p3zVfQ5CqFFu37eewlJ9JIy/rWYdyOwYagw/3TVfxX q2PwGDDQtfg11WzvviEBu62UCAcXGrgOHgqcS5WBRwyWG/tA6NFkd9Obo/QZxsvt lBzQ9avxtq0Q5Hqe0oQ89tyMh57LtzEcEsVVYVjbnngTogux6gE5vD2COrIzW87q y3BZa8Z/o7UssMVzK/Chx2GBoMDhGxTi5tZB8rJT5G6szm7cQnjOs/MqGiS1JRnr qDcm402d4jsPWiexFYejvmSSMCYuSi1tA4XhNuqQZBfxBFZbFSPRUxpu0weLbCxP ccTFQqQ9TLuAAdLXypxzvyxR/LY0Y9zbLugf6IHYd571y7UUAnI9+jdQzu4f6NJp S9lDXTJ13w5Jfych0SIaxglLJO+aksOIl48OhjMbi2TaJ6+28wKS6Vm+D/g98etr 9xGIUb2R7AsGUc+CZ4doB+VZWwjOzU1YwbtCcPEg1V/awutAji3GlqFaVq6lME5e TwnY9M2Cw9I= =6LQN -END PGP SIGNATURE-
mutt not reading header_cache during startup.
Hi, I am trying mutt for the first time to configure with gmail imap. I am unable to make mutt use header caching and after trying for 1 full day with different options decided to send this mail. My muttrc is quite simple. I can see a big cached file created, but after it finishes downloading my 80K mails, it says Error opening mailbox. If I start mutt again it again starts downloading headers rather than reading from the cache. Relevant details are below. I have also uploaded the mutt debug file http://mkatiyar.110mb.com/muttdebug.tar.gz . Appreciate any help. I am on ubuntu jaunty (kernel 2.6.30), with / on ext3 /home/mkatiyar cat .muttrc set imap_user = mkati...@gmail.com set imap_pass = something_random set header_cache=~/.mutt/cache/headers/ set message_cachedir=~/.mutt/cache/bodies set sort_aux=reverse-date-received set spoolfile=imaps://mkati...@imap.gmail.com/INBOX /home/mkatiyar/.mutt/cache/headers ls -lRt .: total 4 drwx-- 2 mkatiyar mkatiyar 4096 2009-09-19 21:09 imaps:mkati...@imap.gmail.com ./imaps:mkati...@imap.gmail.com: total 55268 -rw--- 1 mkatiyar mkatiyar 57263031 2009-09-19 21:42 INBOX.hcache /home/mkatiyar/.mutt/cache/headers/imaps:mkati...@imap.gmail.com file INBOX.hcache INBOX.hcache: GNU dbm 1.x or ndbm database, little endian /home/mkatiyar mutt -v Mutt 1.5.18 (2008-05-17) Copyright (C) 1996-2008 Michael R. Elkins and others. Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'. Mutt is free software, and you are welcome to redistribute it under certain conditions; type `mutt -vv' for details. System: Linux 2.6.31-rc7 (i686) ncurses: ncurses 5.7.20090207 (compiled with 5.7) libidn: 1.10 (compiled with 1.10) hcache backend: GDBM version 1.8.3. 10/15/2002 (built Nov 5 2008 02:36:47) Compile options: -DOMAIN +DEBUG -HOMESPOOL +USE_SETGID +USE_DOTLOCK +DL_STANDALONE +USE_FCNTL -USE_FLOCK +USE_POP +USE_IMAP +USE_SMTP +USE_GSS -USE_SSL_OPENSSL +USE_SSL_GNUTLS +USE_SASL +HAVE_GETADDRINFO +HAVE_REGCOMP -USE_GNU_REGEX +HAVE_COLOR +HAVE_START_COLOR +HAVE_TYPEAHEAD +HAVE_BKGDSET +HAVE_CURS_SET +HAVE_META +HAVE_RESIZETERM +CRYPT_BACKEND_CLASSIC_PGP +CRYPT_BACKEND_CLASSIC_SMIME -CRYPT_BACKEND_GPGME -EXACT_ADDRESS -SUN_ATTACHMENT +ENABLE_NLS -LOCALES_HACK +COMPRESSED +HAVE_WC_FUNCS +HAVE_LANGINFO_CODESET +HAVE_LANGINFO_YESEXPR +HAVE_ICONV -ICONV_NONTRANS +HAVE_LIBIDN +HAVE_GETSID +USE_HCACHE -ISPELL SENDMAIL=/usr/sbin/sendmail MAILPATH=/var/mail PKGDATADIR=/usr/share/mutt SYSCONFDIR=/etc EXECSHELL=/bin/sh MIXMASTER=mixmaster To contact the developers, please mail to mutt-...@mutt.org. To report a bug, please visit http://bugs.mutt.org/. -- Thanks - Manish