Hi Folks, I'm attempting to use mutt (V1.3.28i) to seamlessly read mail on a local spool *and* two imap servers.
Here's what I want to be able to do: When I'm reading a message on the local spool, I would like to be able to =folder to save the message to a folder in the Mail directory on the local server. When I'm reading a message on one of the IMAP servers, I would like to be able to use =folder to automatically save the message in the appropriate folder on the imap server. I have account-hooks that look something like this: account-hook . 'unset imap_user' account-hook imap://imap1.blah.com 'set folder=imap://imap1.blah.com/Mail; set imap_user=myuser' account-hook imap://imap2.blah.com 'set folder=imap://imap2.blah.com; set imap_user=otherimapuser' All is ok when I start by reading mail in the local folder -- saving to =folder saves to a folder in the Mail/ directory on the local system. Also, when I switch to one of the IMAP servers, the folder designation is set appropriately and and =folder will save to the correct folder on the proper IMAP system. However, if I change back to ! (the inbox on the local system), the folder designation remains stuck on the previous IMAP designation, and if I try to save to =folder, mutt attempts to use a folder on the previous IMAP server. I guess the bottom line is -- After I've switched to one of the IMAP servers and switched back to the local inbox, is there a way to automatically default to the local folder directory so that =folder will save stuff there rather than attempting to save it on the previous imap server? Thanks very much! -Rocky