Date: Wed, 25 Apr 2007 15:37:41 -0600 (MDT) From: Warren Block <wblock@wonkity.com> To: Chad Perrin <perrin@apotheon.com> Cc: freebsd-questions@freebsd.org Subject: Re: Tagging email subject line with something like [fbsd-questions] Message-ID: <20070425152547.S12335@wonkity.com> In-Reply-To: <20070425200521.GD81828@demeter.hydra> References: <294439d20704250627h60a5b5dcx49f4dd6b34c2caa1@mail.gmail.com> <462F5D64.4020105@dial.pipex.com> <20070425200521.GD81828@demeter.hydra>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <freebsd-questions.freebsd.org> > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070425152547.S12335>