From owner-freebsd-questions@FreeBSD.ORG Wed Apr 25 21:37:43 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E26E216A402 for ; Wed, 25 Apr 2007 21:37:43 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id A7C0613C469 for ; Wed, 25 Apr 2007 21:37:43 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.1/8.14.1) with ESMTP id l3PLbfYZ012424; Wed, 25 Apr 2007 15:37:41 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.1/8.14.1/Submit) with ESMTP id l3PLbf2Z012421; Wed, 25 Apr 2007 15:37:41 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Wed, 25 Apr 2007 15:37:41 -0600 (MDT) From: Warren Block To: Chad Perrin In-Reply-To: <20070425200521.GD81828@demeter.hydra> Message-ID: <20070425152547.S12335@wonkity.com> References: <294439d20704250627h60a5b5dcx49f4dd6b34c2caa1@mail.gmail.com> <462F5D64.4020105@dial.pipex.com> <20070425200521.GD81828@demeter.hydra> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (wonkity.com [127.0.0.1]); Wed, 25 Apr 2007 15:37:41 -0600 (MDT) Cc: freebsd-questions@freebsd.org Subject: Re: Tagging email subject line with something like [fbsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Apr 2007 21:37:44 -0000 On Wed, 25 Apr 2007, Chad Perrin wrote: > On Wed, Apr 25, 2007 at 02:53:40PM +0100, Alex Zbyslaw wrote: >> >> All messages are already tagged with a List-ID >> >> e.g. >> >> List-Id: User questions > > Do you have any suggestions for how to do something similar with mutt or > procmail? procmail can filter out duplicates and sort messages into "folders" (directories under ~/mail): PATH=$HOME/procmail:/usr/bin:/usr/ucb:/bin:/usr/local/bin:. MAILDIR=$HOME/mail # DEFAULT=$MAILDIR/mbox LOGFILE=$HOME/.procmaillog LOCKFILE=$HOME/.lockmail # Weed out duplicate messages. :0 Wh: msgid.lock | /usr/local/bin/formail -D 8192 $HOME/.msgid.cache # FreeBSD Questions Mailing list :0 * ^List-Id:.*freebsd-questions.freebsd.org $MAILDIR/FreeBSD-Questions This puts questions messages in a "folder" called FreeBSD-Questions (which you should probably create beforehand). You'll also need a .forward file or FEATURE(local_procmail) in your sendmail .mc file to use procmail. -Warren Block * Rapid City, South Dakota USA