Im setting up postfix SMTP relay, that will be placed right after Exchange server.
Details: 1) postfix server name mail.server.com 2) we have several domains: a-domain.com, b-domain.com and etc..
I need to rewrite somehow emails headers. So recipient will not receive email like:
Received: from mail.server.com ([XX.XX.XX.X])
But will receive it from mail.a-domain.com ([XX.XX.XX.X]) if sender is user@a-domain.com OR from mail.b-domain.com ([XX.XX.XX.X]) if sender is user@b-domain.com
is this possible anyhow?