On Mon, Mar 02, 2015 at 08:56:29PM -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: sa...@domain.com," Sally reads > and replies, and the outgoing message has "From: sa...@domain.com" > > It's trickier when the incoming has "To: i...@domain.com," 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: > i...@domain.com?"
The solution is to configure such group mailboxes as "group mailboxes", not distribution lists. Then the mail is not in Sally's mailbox, but in the group mailbox. Sally can reply to such mail, but IIRC Exchange can be configured send group replies with the group as the "From:" address. > 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. This is NOT an MTA problem. This is an MUA problem, and the best solution is with Outlook and Exchange if that's your mail platform. Ugly "solutions" for this at the MTA layer are not impossible, and can certainly be combined with Postfix, but you'll regret doing so. Email tools that support "group replies" belong on the user's desktop. -- Viktor.