Are you sure you don’t want to do this in the MUA?
In Thunderbird, for example, you just create multiple identities and they are automatically used in exactly the way you describe… you can even have a different signature for each ‘From’ address.
--
Merlin Hartley
IT Systems Engineer
MRC Mitochondrial Biology Unit
Wellcome Trust/MRC Building
Cambridge Biomedical Campus
Cambridge
CB2 0XY
UK
> On 3 Mar 2015, at 02:56, helices <exim@???> wrote:
>
> I am tasked to design, build and maintain a new MTA. The company has one special requirement, for which I'm investigating the simplest solution:
>
> For each incoming message received, every outgoing "reply" must use the "To:" address from the incoming received message as the "From:" address in the outgoing reply.
>
> This is trivial when the incoming has "To: sally@???," Sally reads and replies, and the outgoing message has "From: sally@???"
>
> It's trickier when the incoming has "To: info@???," the MTA delivers to an Exchange server, which distributes that message to Sally, and Sally replies. What is the simplest way for that outgoing message to use "From: info@????"
>
> Scope is roughly one hundred (100) different domains and, possibly, thousands of combinations with various username@???.
>
> Ideally, the MTA will handle all of header address processing, whatever that process might look like. I seek the simplest solution, regardless how that process looks and compares to the status quo.
>
> Please, advise. Thank you.
>
> ~Mike
>
> --
> ## List details at https://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/