]> git.cworth.org Git - sup/commit
Bounce Message Hook
authorBen Walton <bwalton@artsci.utoronto.ca>
Sun, 7 Jun 2009 23:44:37 +0000 (19:44 -0400)
committerBen Walton <bwalton@artsci.utoronto.ca>
Sun, 7 Jun 2009 23:44:37 +0000 (19:44 -0400)
commit5081ed4ee160ac612c2b11bff8d259c943cf1e42
tree78946150671d27f91b3438c36ae628e7e8a8ef8a
parent7039653b8d8989977e8c6bafc8e17e7b6e1922c2
Bounce Message Hook

Determine the command used to bounce a message based on a Hook instead
of a configuration option.  Instead of writing an external script that
can send the message properly based on the recipient addresses, rely
on a hook that can return the command based on the From header in the
mail being bounced as well as the intended recipients.  This is more
in line with the sup philosophy.

The default is still to strip any -t from the sendmail command of the
default account.

Signed-off-by: Ben Walton <bwalton@artsci.utoronto.ca>
lib/sup.rb
lib/sup/modes/thread-view-mode.rb