X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/d270441c4681f7e512d18b4bb1ef66d70b223286..2d2b9f24f6f13229398515d99fafefb1f4047560:/procmail/rules/debian diff --git a/procmail/rules/debian b/procmail/rules/debian index 15ee1fa..426c668 100644 --- a/procmail/rules/debian +++ b/procmail/rules/debian @@ -1,10 +1,100 @@ :0 -* ^X-Debian-PR-Source: \/.+ -* ? grep -q "^${MATCH}$" $CONF/debian-packages -$INBOX/.debian.$MATCH/ +*$ ^X-Debian-PR-Message:$RE_EXTRACT_HEADER_VALUE +{ MESSAGE="$MATCH" } :0 -* ORIGINAL_TO ?? ^madduck=debian\.org@forward\.madduck\.net$ -$INBOX/.debian/ +* 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 ?? ^\