From mboxrd@z Thu Jan 1 00:00:00 1970 From: bwalton@artsci.utoronto.ca (Ben Walton) Date: Sun, 7 Jun 2009 20:02:25 -0400 Subject: [sup-talk] (no subject) Message-ID: <1244419347-11330-1-git-send-email-bwalton@artsci.utoronto.ca> Hi All, Here's a stab at implementing a message bouncing functionality worthy of being included on mainline. The first patch adds the basic functionality with the ability to supply a command in the :bounce_sendmail option that overrides the default command used. The default is to use the sendmail command of the default account with -t removed. The second patch takes this a step further and strips the configuration option in favour of a hook named bounce-command. This hooks gets the From header of the message being bounced and an array of recipient addresses supplied by the user. I think these are in good shape, with the caveat that the mail sending (IO.popen) part could still be refactored with the code in edit-message-mode. Anyone interested can grab this code from the bw/bounce_message branch of git://code.chass.utoronto.ca/bwalton-sup.git. It merges cleanly into next as of now. Feedback welcome. Thanks -Ben