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