X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/36ed6727961922f8de82e8d263efe89a3a34c3d1..646b55ced5ab3ed1b27cfbd5d74a3bcb50dea8a1:/procmail/rules/debian diff --git a/procmail/rules/debian b/procmail/rules/debian index bd6c731..426c668 100644 --- a/procmail/rules/debian +++ b/procmail/rules/debian @@ -1,14 +1,56 @@ -INCLUDERC=$PMRULES/debian-debbugs-autosubscribe +:0 +*$ ^X-Debian-PR-Message:$RE_EXTRACT_HEADER_VALUE +{ MESSAGE="$MATCH" } -:0 E -* ^X-Debian-Package: \/.+ -* ? grep -q "^${MATCH}$" $CONF/debian-packages -{ - LOG="debian: message related to package $MATCH$NL" - DEST=debian.$MATCH +:0 +* FROM ?? ^owner@bugs\.debian\.org \(Debian Bug Tracking System\)$ +* MESSAGE ?? ^ack-info +{ + LOG="debian: discarding BTS reply acknowledgement$NL" + SWITCHRC=$PMDIR/discard +} + +RE_DEBBUG="[0-9][0-9][0-9][0-9][0-9][0-9]" + +:0 +*$ MSGID ?? ^\