Tagging email subject line with something like [fbsd-questions]

Erik Osterholm erik-freebsd at erikosterholm.org
Thu Apr 26 04:45:30 UTC 2007

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

This could allow you to search for the List-ID header and
color/highlight based upon that.


More information about the freebsd-questions mailing list