X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/5af333ca3b83425e5cb3aa704b37654d576856c1..32e39db7360a2150d184f096ef0b770ade647627:/procmail/rules/debian diff --git a/procmail/rules/debian b/procmail/rules/debian index 022db93..f6af473 100644 --- a/procmail/rules/debian +++ b/procmail/rules/debian @@ -1,13 +1,81 @@ :0 -* ORIGINAL_TO ?? ^madduck=debian\.org@forward\.madduck\.net$ +*$ ^X-Debian-PR-Message:$RE_EXTRACT_HEADER_VALUE +{ MESSAGE="$MATCH" } + +:0 +* FROM ?? ^owner@bugs\.debian\.org \(Debian Bug Tracking System\)$ +* MESSAGE ?? ^ack-info { - :0 - * ^X-Debian-PR-Source: \/.+ - * ? grep -q "^${MATCH}$" $CONF/debian-packages - $INBOX/.debian.$MATCH/ + LOG="debian: discarding BTS reply acknowledgement$NL" + SWITCHRC=$PMDIR/discard +} - :0 E - $INBOX/.debian/ +RE_DEBBUG="[0-9][0-9][0-9][0-9][0-9][0-9]" + +:0 +*$ MSGID ?? ^\