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