AUTOSUBSCRIBE_HEADER_TOKEN='X-debbugs-autosubscribe: madduck' :0 * FROM ?? ^owner@bugs\.debian\.org \(Debian Bug Tracking System\)$ * MESSAGE ?? ^ack \/[0-9]+ { LOG="debian: auto-subscribing to bug #$MATCH$NL" :0 |echo $AUTOSUBSCRIBE_HEADER_TOKEN | $SENDMAIL $SENDMAILFLAGS -f madduck@debian.org $MATCH-subscribe@bugs.debian.org } :0 EBH * FROM ?? ^[0-9]+-subhelp@bugs\.debian\.org$ * SUBJECT ?? ^Please confirm subscription to [0-9]+@bugs.debian.org \(.+\)$ *$ ^$AUTOSUBSCRIBE_HEADER_TOKEN$ * ^Reply-To: \/[0-9]+-subyes-.+@bugs\.debian\.org$ !$MATCH AUTOSUBSCRIBE_HEADER_TOKEN # vim:ft=procmail