]> git.madduck.net Git - etc/mailfilter.git/blob - procmail/rules/debian-debbugs-autosubscribe

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

undelay lesser verwaltung
[etc/mailfilter.git] / procmail / rules / debian-debbugs-autosubscribe
1 AUTOSUBSCRIBE_HEADER_TOKEN='X-debbugs-autosubscribe: madduck'
2
3 :0
4 * FROM ?? ^owner@bugs\.debian\.org \(Debian Bug Tracking System\)$
5 * MESSAGE ?? ^ack \/[0-9]+
6 {
7   LOG="debian:      auto-subscribing to bug #$MATCH$NL"
8   :0
9   |echo $AUTOSUBSCRIBE_HEADER_TOKEN | $SENDMAIL $SENDMAILFLAGS -f madduck@debian.org $MATCH-subscribe@bugs.debian.org
10 }
11
12 :0 EBH
13 * FROM ?? ^[0-9]+-subhelp@bugs\.debian\.org$
14 * SUBJECT ?? ^Please confirm subscription to [0-9]+@bugs.debian.org \(.+\)$
15 *$ ^$AUTOSUBSCRIBE_HEADER_TOKEN$
16 * ^Reply-To: \/[0-9]+-subyes-.+@bugs\.debian\.org$
17 !$MATCH
18
19 AUTOSUBSCRIBE_HEADER_TOKEN
20
21 # vim:ft=procmail