X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/5af333ca3b83425e5cb3aa704b37654d576856c1..828c976ad417e65ddd39878662b413000d554a6a:/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 ?? ^\