On Tue, Jun 15, 1999 at 04:35:38PM -0400, Mark E. Drummond wrote:
> When I start mutt, I want it to open up my "inbox", which currently is
> Maildir's standard ~/Maildir/new/, a directory, not a file. I cannot
> figure out what needs to be set to do this. I have my $folder set to
> ~/Maildir but it still opens /var/spool/mail/mark by default and I
> cannot set spoolfile to ~/Maildir/new/ since that is not a file.

spoolfile is perhaps poorly named, as it doesn't need to be a file,
but can be any mail location (mbox, maildir, mh, IMAP folder, ...).
Setting spoolfile to "~/Maildir" should work just fine.  As was
mentioned already mentioned, the better solution is for the MAIL
environment variable in your shell to point to "~/Maildir".  Then you
wouldn't need to set spoolfile at all.

Also, I wouldn't recommend storing sub-folders under the parent of a
maildir.  Maildirs have a very specific structure (contain directories
named new, cur, and tmp), and having additional directories in a
maildir may confuse some mail handlers.  Mutt seems to deal with this
ok, so it may just be that I'm just not familiar with all the ways
people use maildirs, but to be safe I'd suggest setting "folder" to
something else like ~/Mail, ~/mail, ~/.mail, or whatever takes your
fancy.

Brian

Reply via email to