On Sun, Jul 01, 2001 at 12:52:17PM -0400, Sam Carleton wrote:
> I am new to mutt and still trying to figure out how to use the thing.  I
> have subscribed to a mailing list and setup the whole mailing list thing.
> Now I would like to set things up so that the mail from this mailing list
> went directly into a different folder...
> 
> The first question I have is; how do I create this folder?  How do I
> manually move emails into this new folder?  Is it possible to have mutt
> automatically move the mail to the folder or do I NEED to use procmail?

The folder can be created by simply touching a filename in the directory
you want it in. It will also be created automatically when you copy a
message to it. You can do that by highlighting and using an uppercase C,
which is the copy command. You do have to also remember to mark the
message for deletion afterward.

It is possible to set up a mbox-hook between two specific folders. This
is a sample from my .muttrc:

# mailboxes
mailboxes =mutt-spool

#spool hooks for default read messages
mbox-hook mutt-spool        =mutt

This tells mutt that you want to automatically move messages in
mutt-spool to mutt after you leave the mutt-spool folder. The trick is
to get the messages to mutt-spool in the first place. I use procmail for
that. I don't think there is any other good way for mutt to do it
itself.

-- 
David Rock
[EMAIL PROTECTED]

Reply via email to