[gtk-list] procmail recipe for sanitizing gtk-list mail




While some people want the tag, some of the rest of us sort our mail
to stay sane and want to see as much of the subject in a message summary
as possible, and the [gtk-list] tag gets in the way.  Fortunately, most
of us who sort our mail can munge our subjects quite easily; several who
don't have more trouble munging.

At the risk of offending those who know procmail and sed very well,
I'll post my procmail recipe for those who aren't as sed-comfortable
or procmail-comfortable but still use it.

:0 Hw
* ^X-loop: gtk-list@redhat.com
| sed '/^Subject: /s:\[gtk-list\] *::g' | /usr/lib/mh/rcvstore +gtk -create

Of course, the last part relies on MH; if you use normal mail folders
of some sort, I guess you can use formail at the end of the pipe.  I
can't tell you the exact invocation because I rarely have to use formail.
:-)

michaelkjohnson

"Ever wonder why the SAME PEOPLE make up ALL the conspiracy theories?"


--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]