[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mutt + seperate folder for lists

Thomas Guettler <guettli@interface-business.de> wrote on 02/02/2001 (12:28) :
> On Thu, Feb 01, 2001 at 07:36:50PM -0800, Charlie Yao wrote:
> > Hi, i was wondering how to make all debian-user msgs appear in a seperate folder
> > when i open mutt. Thanks in advance.
> You can use procmail. The relevant section in .procmail looks like
> this:
> :0:
> * ^Resent.*debian-user@lists.debian.org
> |formail -i "Reply-To: debian-user" >> debian-user
                         This is really not necessary as one can set
                         hooks in mutt, but shouldn't this at least be:
                         debian-user@lists.debian.org ?

Write in the .procmailrc (this assumes that you make a directory called
Mail in your home directory):


   * ^X-Loop: debian-user@lists.debian.org

You can then add rules if you want to seperate other lists as well.

One tip. If you get a lot of spam, then this rule is quite effective if
put at the end of the .procmailrc file:

   * !^TO.*insert-your-user-name-here@.*

All mail that is not addresed to you will thus go to the Junk folder.
Note that if you subscribe to a new mailinglist, these mails will end up
here until you make a rule for this mailinglist.

To the end of your .muttrc file add:

   source ~/.mutt.personal

Then make a file called .mutt.personal where you put:

   mailboxes +mbox
   mailboxes +Debian-User

Now when you get a new mail in Debian-User you will get notified and you
jump to this folder by pressing c and Enter.

Hope it helps
Preben Randhol ---------------- http://www.pvv.org/~randhol/ --
iMy favorite editor is Emacs!<ESC>bcwVim<ESC>
                                         -- vim best-editor.txt

Reply to: