0

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.

vityav
  • 3

1 Answers1

0

How can I get postfix to rewrite the outgoing address to match the original incoming address?

You can't. How would Postfix match outbound with inbound emails?

Instead, tell your email client to customize your reply's From: address. Some email clients (e.g. Thunderbird) let you associate multiple sender addresses with a single mailbox, which you can then select by clicking on the From field in your reply window. There may be email clients that are smart enough to make this selection automatically, based on To: or some other header in the mail you're replying to.

However it's handled, only your email client is able to make this connection...because you told it to create the reply.

Adrian
  • 141