From owner-freebsd-questions@FreeBSD.ORG Thu Apr 26 04:45:30 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 5E16316A400 for ; Thu, 26 Apr 2007 04:45:30 +0000 (UTC) (envelope-from erik@cepheid.org) Received: from mail.cepheid.org (wintermute.cepheid.org [64.92.165.98]) by mx1.freebsd.org (Postfix) with ESMTP id 3FB7213C455 for ; Thu, 26 Apr 2007 04:45:30 +0000 (UTC) (envelope-from erik@cepheid.org) Received: by mail.cepheid.org (Postfix, from userid 1006) id 303C3170CD; Wed, 25 Apr 2007 23:45:29 -0500 (CDT) Date: Wed, 25 Apr 2007 23:45:29 -0500 From: Erik Osterholm To: freebsd-questions@freebsd.org Message-ID: <20070426044528.GA73656@idoru.cepheid.org> Mail-Followup-To: Erik Osterholm , freebsd-questions@freebsd.org References: <294439d20704250627h60a5b5dcx49f4dd6b34c2caa1@mail.gmail.com> <462F5D64.4020105@dial.pipex.com> <20070425200521.GD81828@demeter.hydra> <20070425203042.GA70703@oberon.njm.f2s.com> <20070425204730.GH81828@demeter.hydra> <20070425210305.GB70703@oberon.njm.f2s.com> <20070425211459.GA82525@demeter.hydra> <20070425213852.GC70703@oberon.njm.f2s.com> <20070425214749.GB82659@demeter.hydra> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070425214749.GB82659@demeter.hydra> User-Agent: Mutt/1.4.2.2i 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: Thu, 26 Apr 2007 04:45:30 -0000 On Wed, Apr 25, 2007 at 03:47:49PM -0600, Chad Perrin wrote: > On Wed, Apr 25, 2007 at 10:38:52PM +0100, N.J. Mann wrote: > ># > > Right. In an earlier message you mentioned mutt and procmail, so > > here > > is a procmail/mutt solution. First off write a procmail recipe > > that > > matches the mail list(s) you wish to "flag". In the action line > > of said > > recipe use formail to add the header X-Status. Configure mutt to > > "high > > light" message which contain the X-Status header. ># > That's an excellent idea. Thank you. You don't need to add the header. You can "highlight" using ~C, which checks the To: or Cc: for a string. I have tested a rule in my .muttrc which does this: color index red black '(~C freebsd-question)' It seems to correctly color messages to the freebsd-questions list. In theory, you should be able to use other mutt patterns as per http://www.mutt.org/doc/manual/manual-4.html#ss4.2 This could allow you to search for the List-ID header and color/highlight based upon that. Erik