Re: translating outward message address?

Bit Twister <[email protected]> Sat, 28 Jan 2023 19:58:53 -0600
Newsgroups alt.comp.mail.postfix
Organization A noiseless patient Spider
Message-ID <[email protected]>
On Sun, 29 Jan 2023 01:33:02 -0000 (UTC), William Unruh wrote:
> Microsoft keeps putting my machine onto its blocked list (and no, it is
> NOT being used for spam or for denial attacks or...) I suspect someone
> does not like me and keeps complaining to MS about my address.
> Anyway, some of my people I communicate with have alternate addresses. I
> would like to have postfix translate an address like
> [email protected] to [email protected] since the user has a working gmail
> address, and gmail does not block my address.
> But I do not know how to get postfix to rewrite the address. (I often
> get mail which is CC: to [email protected] amongst others, and if I reply I
> often forget to translate the address ( and besides, that is what
> computers should be for, doing trivial tasks better than I can) and it
> then bounces.
>
> I thought maybe transport would work, but if so, I have no idea how to
> do it.
> [email protected]   [email protected]
> or
> [email protected]  smtp:[email protected]
> in /etc/postfix/transport do not seem to work.

I would think it would be better to use the first example, then postix
would pass it to whatever server you have configured for forwarding.