]> git.madduck.net Git - etc/mailfilter.git/blobdiff - 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:

compact short date format
[etc/mailfilter.git] / procmail / rules / debian-debbugs-autosubscribe
index 98bab8d81599bc0dba18ffe7810cb402cc431d86..b379f7fac8e41b272b1a0f8baa67488fdb832e3e 100644 (file)
@@ -4,13 +4,9 @@ AUTOSUBSCRIBE_HEADER_TOKEN='X-debbugs-autosubscribe: madduck'
 * FROM ?? ^owner@bugs\.debian\.org \(Debian Bug Tracking System\)$
 * MESSAGE ?? ^ack \/[0-9]+
 {
-  :0 fw
-  |$FORMAIL -A "$AUTOSUBSCRIBE_HEADER_TOKEN"
-
   LOG="debian:      auto-subscribing to bug #$MATCH$NL"
-
   :0
-  |echo |$SENDMAIL $SENDMAILFLAGS -f madduck@debian.org $MATCH-subscribe@bugs.debian.org
+  |echo $AUTOSUBSCRIBE_HEADER_TOKEN | $SENDMAIL $SENDMAILFLAGS -f madduck@debian.org $MATCH-subscribe@bugs.debian.org
 }
 
 :0 EBH