Gentoo Archives: gentoo-dev

From: Andrew Gaffney <agaffney@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] stripping out the DO NOT REPLY from bugzie emails
Date: Fri, 28 Sep 2007 23:43:39
Message-Id: 46FD8EBA.10205@gentoo.org
1 It seems that not everybody loves the new "DO NOT REPLY TO THIS EMAIL" header at
2 the top of every bugzie email as much as robbat2 does. Because of that, robbat2,
3 KingTaco, and I came up with a procmail recipe that uses sed to filter that new
4 message out of bugzie emails.
5
6 This has not actually been tested on incoming mails, so it may rape/eat your
7 dog/sister. Enjoy.
8
9 # Strip out DO NOT REPLY lines from bugzie emails
10 :0 Hfw
11 * ^From: bugzilla-daemon@g.o
12 | sed -e '/^DO NOT REPLY TO THIS EMAIL/,+2d'
13
14 --
15 Andrew Gaffney http://dev.gentoo.org/~agaffney/
16 Gentoo Linux Developer Catalyst/Installer + x86 release coordinator
17 --
18 gentoo-dev@g.o mailing list

Replies