2000-01-13-15:21:22 Bill Bradford:
> Mutt is supposed to automatically detect Maildir-format mailboxes.. however,
> when I fire it up (v.1.0), it just gives me an error of
> "/var/spool/mail/mrbill: No such file or directory (errno = 2)".
> 
> I've added the following line to my .muttrc:
> 
> set mbox_type="Maildir"
> 
> and it still does the same thing.. Help!

The error you are getting suggests mutt isn't looking in the right
place. You can probably tell mutt the name of your inbox with some
directive in .muttrc, but I've never bothered, since mutt honors the
same environment variable as lots of other tools. You probably need
to use one of

        export MAIL=$HOME/maildir # if you use bash
        MAIL=$HOME/Maildir export MAIL # other Bourne shells
        setenv MAIL $HOME/Maildir # if you use *csh

and once you find something that works you should put it in your
$HOME/.profile or $HOME/.login or whatever.

All that mbox_type does is tell mutt what default to use when
creating new mailbox folders. If you save a message into a new
folder, that doesn't already exist, named "foo", with the command

        sfoo

mutt has to decide what format to create. That's mbox_type. For
already-existing mailboxes, it always looks to see what sort it is.
If it finds a directory with subdirectories tmp, new, and cur, it
knows it's a Maildir.

Hope this helps!

-Bennett

PGP signature

Reply via email to