When I send a mail via php mail then postfix rewrites the from address like this.
The from becomes: username@myhosthame
How can I stop this from happening? I want postfix to preserve the from address.
To fix the domain, you have to set the
As to why the user is rewritten, by default