]> 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:

9aff2944191e80dcdd164815c18e4fac025c902a
[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 * ^X-Debian-PR-Message: ack \/[0-9]+
6 {
7   :0 fw
8   |$FORMAIL -A "$AUTOSUBSCRIBE_HEADER_TOKEN"
9
10   :0
11   !$MATCH-subscribe@bugs.debian.org
12 }
13
14 :0 EBH
15 * FROM ?? ^[0-9]+-subhelp@bugs\.debian\.org$
16 * SUBJECT ?? ^Please confirm subscription to [0-9]+@bugs.debian.org \(.+\)$
17 *$ ^$AUTOSUBSCRIBE_HEADER_TOKEN$
18 * ^Reply-To: \/[0-9]+-subyes-.+@bugs\.debian\.org$
19 !$MATCH
20
21 AUTOSUBSCRIBE_HEADER_TOKEN
22
23 # vim:ft=procmail