On Thu, Jun 20, 2024 at 01:25:33PM -0400, Kurt Hackenberg wrote: > On Thu, Jun 20, 2024 at 10:11:36AM -0700, Will Yardley wrote: > > > > I believe that's unnecessary, and kind of wrong. That variable > > > spoolfile is for incoming mail delivered into local files on the > > > computer where Mutt runs (eg, /var/mail/freduser, or > > > ~freduser/Maildir). IMAP is entirely different, and doesn't use > > > that. I think you can just remove that, and not set the variable > > > spoolfile. > > What would you use in Mutt for configuring the inbox then? > > A URL on the command line, like this: > > mutt -f imaps://imap.panix.com/INBOX > > The variable spoolfile has nothing to do with IMAP, and does not affect it.
I disagree; from what I can see, the _naming_ of $spoolfile is vestigal and comes from before mutt supported IMAP, but it _does_ affect mutt's behavior, and you can configure it to point to an IMAP mailbox. I like to just start mutt without any flags, and if using IMAP, having $spoolfile set to +INBOX has the expected behavior (mutt opens and opens my IMAP inbox vs. trying to open a local spool which may or may not exist). /w