Link to home
Start Free TrialLog in
Avatar of mtnr
mtnr

asked on

sendmail reveals webhost and servername (using mail() in php) -- anyway to fix?

php 4.4.2 mail() working fine BUT
if you look at full headers in the email
you can see name of webhost AND the name of server the site is hosted on.
(in Return-path, Received: from, and Message-Id)

any way to fix?
(I am not a spammer. just dont want to reveal any more info than necessary.)

phpinfo says:
sendmail_from      no value      no value
sendmail_path      /usr/sbin/sendmail -t -i      /usr/sbin/sendmail -t -i

the following did NOT work:
in htaccess
php_value sendmail_from me@mine.com

in the script
ini_set(sendmail_from,'me@mine.com');

thank you.
SOLUTION
Avatar of b0lsc0tt
b0lsc0tt
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mtnr
mtnr

ASKER

when I get email from some companies, full headers doesn't mention their webhost company.
it says "received from" that same company.
I guess this means they have their own servers, and don't use a webhost?
That is correct.
Avatar of mtnr

ASKER

thanks for the information.