From owner-freebsd-questions Mon Sep 30 12:59:12 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C928937B404 for ; Mon, 30 Sep 2002 12:59:10 -0700 (PDT) Received: from mail.thundernet.cz (mail.thundernet.cz [62.77.87.114]) by mx1.FreeBSD.org (Postfix) with SMTP id 6E6B643E77 for ; Mon, 30 Sep 2002 12:59:09 -0700 (PDT) (envelope-from neuhauser@bellavista.cz) Received: (qmail 1185 invoked from network); 30 Sep 2002 15:59:06 -0000 Received: from unknown (HELO freepuppy.bellavista.cz) (62.168.44.50) by mail.thundernet.cz with SMTP; 30 Sep 2002 15:59:06 -0000 Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id 9B4FA2FDAB2; Mon, 30 Sep 2002 17:59:04 +0200 (CEST) Date: Mon, 30 Sep 2002 17:59:04 +0200 From: Roman Neuhauser To: freebsd-questions Cc: Bryan Cassidy Subject: Re: Groups and Mutt Message-ID: <20020930155904.GT30361@freepuppy.bellavista.cz> Mail-Followup-To: freebsd-questions , Bryan Cassidy References: <20020928220748.A50253@insightbb.com> <20020929032421.GK7711@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020929032421.GK7711@dan.emsphone.com> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG # dnelson@allantgroup.com / 2002-09-28 22:24:21 -0500: > In the last episode (Sep 28), Bryan Cassidy said: > > I have been playing around with some other options in mutt and I was > > just wondering this. When you first open mutt you see all your > > e-mails right? Well, I want to know instead of seeing "ALL" of your > > e-mails on one screen can I have like one group for say the > > freebsd-questions mailing list and everything for the mailing list is > > sent to that group and so on. I hope I was clear enough with my > > question. I am new to alot of things so if you don't mind I would > > like a clear answer that explains a little in detail so I understand > > what I am doing. > > What you want is procmail, which will filter your emails into different > mail files. Then you can tell mutt about them with the "mailboxes" > keyword. A sample procmailrc: > > MAILDIR=$HOME/Mail > > :0: > * ^List-ID: > bsdq > > :0: > * ^List-ID: > bsds if you don't like software whose config files look like they're uuencoded, :) you can use maildrop: if (/^List-ID: /) { to $MAILDIR/bsdq } if (/^List-ID: /) { to $MAILDIR/bsds } > And in your .muttrc: > > mailboxes ! =bsdq =bsds or, if you want mutt to automatically pick up new mailboxes, a variation of: mailboxes `find ~/Mail/ -type f -or -type l | perl -ne 'chomp; print "$_ " unless m/^.*(postponed|sent|spam|trash)$/'` -- begin 666 nonexistent.vbs FreeBSD 4.7-RC 5:54PM up 13 days, 1:08, 15 users, load averages: 0.02, 0.04, 0.02 end To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message