On Mon, 02 Mar 2015 20:56:22 -0600, helices 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@????"
Probably add/rewrite the Reply-To header of the incoming message,
encoding the To address in the new Reply-To header together with the
Reply-To/From address, and then rewrite the From/To headers again on
outgoing messages.
Christof
--
http://cmeerw.org sip:cmeerw at cmeerw.org
mailto:cmeerw at cmeerw.org xmpp:cmeerw at cmeerw.org