From mboxrd@z Thu Jan 1 00:00:00 1970 From: wmorgan-sup@masanjin.net (William Morgan) Date: Tue, 29 Apr 2008 09:19:39 -0700 Subject: [sup-talk] [PATCH] Config control over how From address is generated when replying. In-Reply-To: <1209354047-sup-9578@cabinet> References: <1209278945-sup-1601@south> <1209354047-sup-9578@cabinet> Message-ID: <1209484583-sup-8823@south> Reformatted excerpts from Marc Hartstein's message of 2008-04-27: > I can appreciate the desire not to have so many configuration settings > that you have to read through a tome to find the one you want (and > might simply never know that the one you want exists). There's that, and there's the fact that people want all sorts of crazy things to happen with their email and I'd rather provide them a programming language to describe their ideas than have to implement a configuration option for each one. > I didn't see any straightforward way to do it using before-edit, as > before-edit is only passed the header hash and the body. You're right. I was thinking before-edit passed in the message object. > I think I slightly prefer the change to before-edit approach, mostly > because it allows for the forward and bounce cases if somebody wants > to do some special handling there. I'd definitely like some feedback, > though, as I'm not quite happy with either idea. What about something that more specifically addresses the problem at hand? E.g. a reply-from hook, that takes the message object, and returns a Person object to be used as the from? Adding a hook is very low cost, so I'm not opposed to having fairly specific things like this. > P.S. William, I noticed your recent round of posts to the list lacked > In-Reply-To and References headers, so they didn't thread with the > posts they were replying to. Want to make sure you're aware of it. Yeah... I discovered on 4/27 that all my outgoing messages since 4/23 had been discarded. So I re-sent them with Sup's edit-as-new command, which doesn't preserve Reply-To and References headers. It probably should. Sorry! -- William