X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/285170b907e4c1f4bc5c48480fd3c7e2d340bbe1..257871e32d11b6c0dec5b3e8413dfd34167461ff:/procmail/rules/debian-debbugs-autosubscribe diff --git a/procmail/rules/debian-debbugs-autosubscribe b/procmail/rules/debian-debbugs-autosubscribe index b69a8c7..b379f7f 100644 --- a/procmail/rules/debian-debbugs-autosubscribe +++ b/procmail/rules/debian-debbugs-autosubscribe @@ -2,16 +2,11 @@ AUTOSUBSCRIBE_HEADER_TOKEN='X-debbugs-autosubscribe: madduck' :0 * FROM ?? ^owner@bugs\.debian\.org \(Debian Bug Tracking System\)$ -* ^X-Debian-PR-Message: ack \/[0-9]+ +* MESSAGE ?? ^ack \/[0-9]+ { - :0 fw - |$FORMAIL -A "$AUTOSUBSCRIBE_HEADER_TOKEN" - LOG="debian: auto-subscribing to bug #$MATCH$NL" - SENDMAILFLAGS="$SENDMAILFLAGS -f madduck@debian.org" - :0 - !$MATCH-subscribe@bugs.debian.org + |echo $AUTOSUBSCRIBE_HEADER_TOKEN | $SENDMAIL $SENDMAILFLAGS -f madduck@debian.org $MATCH-subscribe@bugs.debian.org } :0 EBH