On Fri, Dec 01, 2000 at 12:27:52AM +0100, Jonathan Gift wrote:

> I just moved over from elm where I could start ina  given folder by
> giving an elm -f foldername command. Now I know you can do that with
> mutt but I thought there might be a cleaner way in .muttrc of giving it
> an opening folder aside from /var/mail:user.

Try putting this in your .muttrc:

    set spoolfile=foldername
    folder-hook . set spoolfile=$MAIL

This will cause mutt to open foldername when started without any
arguments, but will then reset your spool file name to the usual default
so that "!"  and other commands/names that refer to your system mailbox
will work as expected.

Gary

-- 
Gary Johnson                 | Agilent Technologies
[EMAIL PROTECTED]     | RF Communications Product Generation Unit
                             | Spokane, Washington, USA

Reply via email to