Bugzilla tickets on FE list

Michael Schwendt bugs.michael at gmx.net
Thu Aug 11 18:07:27 UTC 2005


My procmail rule to add the initial Message-Id which is referenced
by bugzilla with every additional comment. With that I get level-1
threading of message, at least.

:0
* ^Subject: \[Bug [0-9]+\][ ]+New:.*
* ! ^X-Procmail: New bugzilla ticket
{
    BUGNUM=`sed -e '/^$/,1 d' | grep ^Subject | sed -e 's/\(.*\[Bug \)\([0-9]\+\)\(\].*\)/\2/'`
    :0HB
    | formail -A "X-Procmail: New bugzilla ticket" | formail -I "In-Reply-To:" | formail -I "Message-Id: <bugzilla-${BUGNUM}@redhat.com>" -s procmail
}




More information about the fedora-extras-list mailing list