From mboxrd@z Thu Jan 1 00:00:00 1970 From: wmorgan-sup@masanjin.net (William Morgan) Date: Wed, 27 May 2009 09:22:54 -0700 Subject: [sup-talk] Multiple email accounts In-Reply-To: <1243275433-sup-6834@javelin> References: <1243121499-sup-7569@javelin> <1243122989-sup-7769@leda> <1243275433-sup-6834@javelin> Message-ID: <1243440902-sup-4117@entry> 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 at rubyforge.org/i Person.from_address "Edward Z. Yang " end If the hook returns nil, Sup does the default computation. -- William