X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/36ed6727961922f8de82e8d263efe89a3a34c3d1..fcc88409f7a9092c7e3ca52f0320288ff7c11102:/procmail/rules/debian-debbugs-autosubscribe diff --git a/procmail/rules/debian-debbugs-autosubscribe b/procmail/rules/debian-debbugs-autosubscribe index 9aff294..b379f7f 100644 --- a/procmail/rules/debian-debbugs-autosubscribe +++ b/procmail/rules/debian-debbugs-autosubscribe @@ -2,13 +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" :0 - !$MATCH-subscribe@bugs.debian.org + |echo $AUTOSUBSCRIBE_HEADER_TOKEN | $SENDMAIL $SENDMAILFLAGS -f madduck@debian.org $MATCH-subscribe@bugs.debian.org } :0 EBH