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