* On Tue, Mar 12, 2002 at 02:58:34PM +0100, * Oliver Fuchs <[EMAIL PROTECTED]> wrote: > On Tue, Mar 12, 2002 at 02:24:00PM +0100, Nicolas Rachinsky wrote: > > * On Tue, Mar 12, 2002 at 02:15:02PM +0100, > > * Oliver Fuchs <[EMAIL PROTECTED]> wrote: > > > I am using mutt on SuSe 7.3 Pro to replace my Lotus Notes distribution. I >managed the .muttrc file and here is my question: > > > Am I able to move emails in different folders after they have been read? E.g. >emails from the mutt-users-list should automatically moved in a folder like >/home/me/mutt/user_list? > > > Is there a possibility to set this in my .muttrc file? > > > > It looks like "mbox-hook" could helb you, just search in the manual > > for mbox-hook. > Thank you for the hints but still do not get it. > I tried: mbox-hook '~C mutt-users' +mutt.users > but nothing is working. Is something wrong? I do not see how to handle it, how to >move emails with To or Cc > to folder/mbox mutt.users.
mbox-hook moves all mail from one folder to another. The regex matches the name of the first folder. You get all your mails into one folder? I don't know a simple command to achieve what you want. A step would perhaps be, to setup a save-hook. I sort the mails as soon as they are arriving via procmail, and use afterwards mbox-hooks or save-hooks and moving them by hand, or via a folder-hook when entering the folder. Nicolas