This is the IMAP cleanup I promised earlier. This cleans up the IMAP
code to handle connections better, allowing for multiple connections to
multiple servers for checking of new mail and switching between folders
without closing connections.
In addition, mutt should now detect the hierarchy delimiter the server
uses and translate requested folders from the file namespace to that of
the server.
This also supports browsing the folders on the IMAP server, including
subscribing and unsubscribing to those folders. You can toggle whether
the browser looks at all folders or only subscribed folders, and set the
default with a variable ($imap_list_subscribed).
This doesn't currently support doing foldername completion for IMAP
folders.
There are a ton of places in the browser code where I had to muck with
things to make things work the way one would expect, and I may have
missed one, let me know.
Also, fixed a couple bugs as I found them, including the fact that mutt
would update all of the message flags on the server whenever it closed
the folder because IMAP doesn't have a way to represent the what mutt
calls OLD. Now, IMAP folders essentially have mark_old unset.
This patch also includes all of the bugfixes I mailed previously.
I updated the documentation, and tested against both the UWash IMAPd and
the Cyrus IMAPd. I'd appreciate if anyone who uses mutt+imap, or gave
up on it before to try it again.
Brandon
--
Brandon Long "Some people have one-track gutters."
MD6 Crash Test Dummy -- Harlan Ellison
Intel Corporation
I'm too low on the totem pole to speak for Intel.
http://www.fiction.net/blong/
patch-0.95.1.bl.imap_cleanup.2.gz