I used to read my email with neomutt and get them from server with fetchmail. For a time, I switched to using mostly my webmail, but now I'd like to combine mail archives managed by mutt and continuing to use webmail.
This could be achieved in several ways I'm sure, what I think more convenient for me is to use imap mailboxes side by side with local ones in mutt.
I find examples of imap-only muttrc files, but I am not sure how to configure mutt to have both local and imap ones. The most confusing is that there seems to be one $folder variable only, and that depending on whether the mailbox is local or imap, this variable should be set do ~/Maildir or to imaps://host.
So, how do I configure mutt to still have ~/Maildir/Inbox as my spoolfile and imaps://host/Inbox as an additional mailbox?