1 # This handles initial submissions ("Thank you for the problem
2 # report...") and also followups ("Thank you for the additional
5 * ^To: Justin Pryzby <justinpryzby@users\.sourceforge\.net>$
6 * ^From: owner@bugs\.debian\.org \(Debian Bug Tracking System\)$
7 * ^Subject: Bug#\/[0-9]*
8 |echo |mail "$MATCH-subscribe@bugs.debian.org"
10 # This handles bug reports on which I've had an effect via the control
11 # bot. The 'To:' condition is necessary, otherwise I'd occasionally
12 # be subscribed to a massive number of bugs when Don reassigns from
13 # debbugs to bugs.d.o, or Eric from mozilla-firefox to firefox, and
14 # I'm already subscribed to those packages anyway..
16 * ^To: Justin Pryzby <justinpryzby@users\.sourceforge\.net>$
17 * ^From: owner@bugs\.debian\.org \(Debian Bug Tracking System\)$
18 * ^Subject: Processed:
19 |grep -Eo '^Bug#[0-9]+:' |sed -e 's/^Bug#//' -e 's/:$/-subscribe@bugs.debian.org/ ' |tr '\n' ',' |sed -e 's/^/To: /' -e 's/,$/\n/' |sendmail -t
22 * ^From: [0-9]+-subhelp@bugs\.debian\.org$
23 * ^Subject: Please confirm subscription to [0-9]+@bugs.debian.org
24 * ^Reply-To: \/.*@bugs\.debian\.org$
28 * ^From: [0-9]+-subhelp@bugs\.debian\.org$
29 * ^Subject: Subscription to [0-9]+@bugs.debian.org successful$
30 Mail/bug_subscription_success