I have an e-mail server powered by Postfix. Aside from traditional e-mail accounts on my server, I want to maintain some accounts whose only role is to forward all incoming mail to differnet address on different mail system.
For example. I own domain example.com
and I set account with address [email protected]
on my server. And I want this one account to forward all incoming messages to mailbox in different mail system, in domain that does not belong to me [email protected]
.
I know, that i can add an entry in in my virtual_alias_maps
lookup table.
[email protected] [email protected]
But I'm worried that to deliver message, Postfix will use original envelope sender address. It's okay if sender is from domain example.com that belongs to me, but otherwise stranger.net
server may classify this message as a spam.
Is there some way, to alter envelope sender on delivery ?
Are smtp_generic_maps
ment for this ?
If so, is it okay, that my server sends an e-mail using specific envelope sender, and then something else in message being forwarded ?
How else to deal with such problem ?