[ Paolo Pisati wrote on Fri  5.Oct'12 at 13:23:25 +0200 ]

> On Fri, Oct 5, 2012 at 1:16 PM, Patrick Shanahan <[email protected]> wrote:
> >
> > try:  mailboxes +/Maildir/inbox
> 
> so what's the point of the variable folder?
> 
> set folder="~/Maildir/"
> 
> besides, when i press c? it displays all the mailboxes in ~/Maildir,
> so the "root maildir directory" is correct.
The problem is with your setting of $spoolfile. By default, mutt uses ~/Mail 
for it's mailboxes. If you want to use ~/Maildir for your mailboxes you need to 
specify $folder to ~/Maildir, which you have done. But, you want 
~/Maildir/inbox to be your spoolfile, so you need to put this in muttrc

        set folder=~/Maildir
        set spoolfile=+inbox
        ...

Then your spoolfile will be picked up by mutt. Or you could set the environment 
variable $MAIL in your shell's configuration file; for example:

export MAIL=~/Maildir/inbox for bash
MAIL=~/Maildir/inbox;   export MAIL for ksh or sh
setenv MAIL ~/Maildir/inbox for csh or tcsh. 

Reply via email to