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

N.J. Mann njm at njm.f2s.com
Wed Apr 25 21:38:54 UTC 2007

On Wednesday, 25 April, 2007 at 15:14:59 -0600, Chad Perrin wrote:
> On Wed, Apr 25, 2007 at 10:03:05PM +0100, N.J. Mann wrote:
> > On Wednesday, 25 April, 2007 at 14:47:30 -0600, Chad Perrin wrote:
> > > On Wed, Apr 25, 2007 at 09:30:42PM +0100, N.J. Mann wrote:
> > > > 
> > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail-procmail.html
> > > 
> > > I wasn't referring to a desire for instructions on how to use procmail.
> > 
> > Sorry, but that is what I thought you were after.
> > 
> > > I was hoping for some suggestion as to what to set up.  It's usually
> > > not really polite to change subject lines on a mailing list, so using
> > > procmail to add [fbsdq] (or whatever) to the beginning of every subject
> > > line doesn't really strike me as a good solution to the problem.
> > 
> > Now I am totally confused.  What exactly do you want?
> > 
> > (If you want to add or remove something from the subject line during
> > local mail delivery use formail.)
> I'm looking for an easy way to visually mark messages as being from the
> freebsd-questions list so I can recognize them at a glance without
> screwing with the subject line if I reply.

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.

If you want me to give you a step-by-step it will have to wait until
tomorrow because it is time for me to hit the sack.  If you can't wait
that long look in the archives for the procmail users' mailing about 6
or so years ago - may be even longer: flagging is what this is called.

Oh, just remembered, the above assumes you are using mbox format.  If
you are using maildir there is a solution, but the action is different.

Please do not CC me on replies, I read the list and don't need the dupes.

More information about the freebsd-questions mailing list