On Fri, Oct 23, 2015 at 6:02 AM, Wietse Venema <wie...@porcupine.org> wrote:
> helices:
> [ Charset windows-1252 converted... ]
>> I've been through this before. Yes, I know MTA isn't preferred for such.
>> This isn't happening elsewhere.
>>
>> We have 100s of domains. For example, To:i...@domain1.com will get
>> delivered to s...@2domain.net. When Suzy replies, it will be
>> From:i...@domain1.com
>>
>> I can do this by rewriting both From: and To: headers, both incoming and
>> outgoing.
>>
>> What is the simplest way to do this with postfix?
>
> Use a Milter or SMTP-based content filter. Postfix is an MTA,
> it is not a content-management system.
>
>         Wietse

Here are two examples of doing what you want:

1) Ticketing system. In my old job, emails sent to supp...@oldjob.com
would be forwarded to those who handled the support. They would reply
directly to the ticket, which then would go (email) to the ticketing
system which then would send it back to customer, showing only the
supp...@oldjob.com as return address. All this email address changing
dance was taken care by ticketing system.

2) A mailing list just like this one. If you noticed, the default
reply address to this list is postfix-users@postfix.org instead of the
user who sent the email. So, it behaves like the ticketing system I
mentioned, being the only difference that you can find the email
address of the last person who sent a reply to a thread and email
directly, bypassing the list or not. Once again, that is taken care by
the mailing list software, which probably can also do spam filtering
and some other neat features postfix would not do.

Reply via email to