X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/d270441c4681f7e512d18b4bb1ef66d70b223286..b4f8cdbd9c7930aa16600a98ef001f07b16240b4:/procmail/rules/debian diff --git a/procmail/rules/debian b/procmail/rules/debian index 15ee1fa..f6af473 100644 --- a/procmail/rules/debian +++ b/procmail/rules/debian @@ -1,10 +1,81 @@ :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 ?? ^\