I have a postfix installation where all addresses are virtually mapped to one user, i.e.:
>cat /etc/postfix/virtual
@mydomain.com myuser
What I want is the ability to reply to emails that are caught, and have those emails appear to come from the original sent address. So for example if amazon support sends me an email at amazon@mydomain.com
and I want to reply, that reply currently is sent back as being from myuser@mydomain.com
while I want it to appear to come from amazon@mydomain.com
.
How can I get postfix to rewrite the outgoing address to match the original incoming address? I would ideally like to do this without creating an entirely new user on the system.