When I try to send email via Php mail() function, if the domain I send from is “test.com” and email is “info@test.con”, as return path in header I get:
“test@server1.demo.com”, where server1.demo.com is the hostname of my vps.
So gmail put that email in spam folder.
How could I get mail() function sending email via postfix with return path: info@test.com? So gmail and similar doesn’t consider it as spam?
I’m using virtualmin gpl in centos 5.7 & 6.
Thanks
Neorf