X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/90b680896df34b1a64d4541ceea5491a58136558..010aa57a0b1d27dd0a4453a797c428fc3fe29621:/procmail/rules/debian diff --git a/procmail/rules/debian b/procmail/rules/debian index e11dec0..c18d27e 100644 --- a/procmail/rules/debian +++ b/procmail/rules/debian @@ -1,10 +1,103 @@ :0 -* ^X-Debian-PR-Source: \/.+ -* ? grep -q "^${MATCH}$" $CONF/debian-packages -$BASE/.debian.$MATCH/ +*$ ^X-Debian-PR-Message:$RE_EXTRACT_HEADER_VALUE +{ MESSAGE="$MATCH" } :0 -* ORIGINAL_TO ?? ^madduck=debian\.org@forward\.madduck\.net$ -$BASE/.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 ?? ^\