From: martin f. krafft Date: Thu, 26 Jun 2008 14:36:33 +0000 (+0200) Subject: define MESSAGE before rules using it X-Git-Url: https://git.madduck.net/etc/mailfilter.git/commitdiff_plain/ffd30324a02a87cf0108f842f402b4f05f4a40b4?hp=9bdc8a908d4bd36a3b21e6d9ec75b4a877b2d82a define MESSAGE before rules using it --- diff --git a/procmail/rules/debian b/procmail/rules/debian index d42f8a9..c4c71e3 100644 --- a/procmail/rules/debian +++ b/procmail/rules/debian @@ -1,10 +1,14 @@ +:0 +*$ ^X-Debian-PR-Message:$RE_EXTRACT_HEADER_VALUE +{ MESSAGE="$MATCH" } + :0 * FROM ?? ^owner@bugs\.debian\.org \(Debian Bug Tracking System\)$ * MESSAGE ?? ^ack-info { LOG="debian: discarding BTS reply acknowledgement$NL" SWITCHRC=$PMDIR/discard -} +#} :0 *$ ^X-Debian-PR-Package:$RE_EXTRACT_HEADER_VALUE @@ -14,10 +18,6 @@ *$ ^X-Debian-PR-Source:$RE_EXTRACT_HEADER_VALUE { SRCPACKAGE="$MATCH" } -:0 -*$ ^X-Debian-PR-Message:$RE_EXTRACT_HEADER_VALUE -{ MESSAGE="$MATCH" } - INCLUDERC=$PMRULES/debian-debbugs-autosubscribe :0