Reformatted excerpts from Edward Z. Yang's message of 2009-05-25:
> Great, that's 99% of what I need. The last 1% is, can Sup auto-detect
> what From line to send based on the source of the message, if the To:
> header is not intact? (This is commonly the case for mailing lists.

You can use the reply-from hook to set it automatically however you
want. Try adding something like the following (completely untested!) to
~/.sup/hooks/reply-from.rb:

  case message.from.email
  when /sup-talk@rubyforge.org/i
    Person.from_address "Edward Z. Yang <ezy+i-love-...@mit.edu>"
  end

If the hook returns nil, Sup does the default computation.
-- 
William <wmorgan-...@masanjin.net>
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk

Reply via email to