Mike McNally muttered:

> I'm a new mutt user starting right in with a pretty advanced
> configuration, but I've read a lot, so it's time to ask questions.

Welcome!

> I have procmail sorting my mail into various dirs in ~/Mail.  Each
> message has a name like msg.BvJC, msg.gvJC.  I had thought that setting
> mbox_type=Maildir would clue mutt into the way my mail is being kept,
> but it apparently doesn't.

Mutt should be able to determine the format automaticly. If it doesn't
do this correctly, your dirs are probably no correct Maildirs. The
$mbox_type variable is only used when mutt itself writes out messages
to a new folder, i.e. when you save to a new folder $mbox_type controls
whether that folder will be a Maildir or mbox, ...

Most likely something is wrong with your procmail setup. Only the
newest version (3.14) does support Maildir.

:0
* ^From:.*[EMAIL PROTECTED]
foo/
   ^ Note the slash at the end. This tells procmail that the
destination is a Maildir.

> When I start mutt it reads /var/spool/mike, which is not being used. 
> What do I put in .muttrc to make mutt start up in ~/Mail/mbox (if mbox
> is a reserved word, I can change that).  

Set your shells $MAIL variable appropriately or set
spoolfile=~/Mail/mbox in your muttrc.

> Now the format problem...  So I hit c ? and it displays the contents of 
> ~/Mail as a regular directory display (like ls -l would).  I want mutt
> to display the number of msgs in ea dir and maybe how many are
> read/unread in ea dir.  But instead I get a dir display.
> 
> So I arrow down and enter my default dir "mbox", and again I get the dir
> format:
> 1   drwxr-sr-x  9  mike  mike  4096  sep 19  06:30  ../
> 2  -rw--------  1  mike  mike  27167  sep  18  18:58  msg.BvJC
> ......as above......................................  mcg.gvJC
> 
> So now I arrow down and hit return to enter the msg, kinda as if it were
> a dir, and finally I get the display of the one msg.

My guess is that this is related to your procmail problem. See above.
Maybe you left that out, but a Maildir contains three dirs cur/, new/
and tmp/. If your ~/Mail/mbox dir does not have these dirs it's
definitely _no_ Maildir.

> Summary of the main problem is: I want a mail reader not a directory
> browser.  I installed mutt from a debian package.  It's 1.0.1i.  Does
> the answer involve getting the new ver and using some specific compiler
> options?


1.0.1 is quite old. Upgrading could solve some of your probs anyway. 
I don't know about any debian specials but getting the newest stable
tarball (1.2.5) from ftp://mutt.org and a normal ./configure; make;
make install should be enough for most systems.

HTH,

Michael
-- 
Yes, we will be going to OSI, Mars, and Pluto, but not necessarily in
that order.
                -- Jeffrey Honig

PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65  40FA 5967 ACA1 0B57 7C13

Reply via email to