On 2008-06-20 at 20:46 -0700, Phil Pennock wrote: > On 2008-06-20 at 00:07 -0400, Eli C wrote: > > Do you have an example of this? > > I have a rather complex setup for my laptop. It does this and more.
For the specific example of 'this' cited, yes, it does that and more. It doesn't switch based on From: header though. Switching on the From: header instead of the SMTP Envelope Sender is slightly complicated because From: can contain multiple addresses, so you want something like: ${sg{${addresses:$h_From:}}{:.*}{}} to get the first one. If you're sure there will only ever be one address in From:, then just ${address:$h_From:} will do. Amending the example I gave to do dispatch based on sender, not recipient, left as an exercise to the reader. Which will probably be me soonish, since I really should be switching based on From: instead of being lazy and just doing it based on recipient. -Phil -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/