postfix multiple domains send emails only

  • Posted May 10, 2014

I am setting up a Postfix MTA that will be only sending mail for different virtual domains. We have other servers that will be receiving the mail for the domains so I only need to set up for sending on Postfix.

What my issue is I am trying to configure Postfix so that when it sends mail the header shows what domain the mail came from and not the domain the Postfix server is set to. For example…

Postfix server domain: Mail domain: Mail domain:

When I send mail from I want it to show in the header it was sent from and not from What do I need to set in postfix so that this happens? Right now no matter what domain the mail is from the header always shows the server domain and I can’t have that. Any help is greatly appreciated.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi Kenneth, <br> <br>I’m not sure that this is possible. I guess the question is why do you need this, and what are you trying to accomplish? Most users are not going to be looking at the headers. Are you having issues with mail being rejected or filtered as spam?