X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/36ed6727961922f8de82e8d263efe89a3a34c3d1..1937fe624e0b804bf104b6f20f481fde79ca17e3:/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