[kwlug-disc] How to Archiving Gmail Locally
Chris Irwin
chris at chrisirwin.ca
Fri May 11 16:29:26 EDT 2018
On Fri, May 11, 2018 at 12:27:53AM -0400, Khalid Baheyeldin wrote:
>Reading a bit more on this, mutt may not understand a directory sorted by
>yyyy/mm.
You would have to make those directories maildirs as well.
>So I started mutt giving it the MailDir that I saved Gmail to, like so:
>
>mutt -f ~/mail/gmail
>
>That directory is the one that contains the cur, new and tmp dirs.
>
>Loading is slow, at 1,778 msg/second, so my total messages of 459,000 takes
>several minutes to load.
>
>But it is fast from there, probably because it caches headers or something.
If mutt is saving it's header cache, it should be significantly quicker
afterwards.
I'm not sure what the default is, but I set a specific header_cache in
my muttrc. My "All Mail" folder with ~100,000 items in loads in about 4
seconds due to caching. Granted, this is on an SSD.
I'm not sure what your target for the archive is, but if you're planning
on doing much searching, you might be interested in `notmuch` as well,
which will index your mail, and can provide search results in maildir
format, which you could also browse with mutt.
--
Chris Irwin
email: chris at chrisirwin.ca
xmpp: chris at chrisirwin.ca
web: https://chrisirwin.ca
More information about the kwlug-disc
mailing list