I have tried and tried to google my way out of this. This definitely has to be a very common problem because I am half-way intermediate at Linux and etI am complaining about default settings and how to change them.
On the webserver I have a basic php-based contact form. The user has the ability to put his/her name in the from field but Postfix will not take that value and actually use it.
For instance, if I put John Doe
in for the from field, the emails headers appear like this
From John@vpsuser.vpslink.com
- This header does not contain the space nor Doe
- This header is appended with my server info.
How on earth do I fix this? And if you don't want to tell me how for some reason, then at least point me in the right direction. I have read several people's questions and answers and none of them seem to match up with my situation.
Some sources say to add such-and-such to the access file, or something else to transport. whenever I view these files, they have the appearance of a man file and I am quite confused by it.
Somewhere in the whole postfix system, there is a default setting that takes away spacing and appends the user@hostname string. Where/How can I fix that?