Sounds like an MTA issue. You should find out which MTA it is and look at
their support site..

Sendmail has a feature that will rewrite the domain on all outgoing
addresses unless the user sending out is a 'trusted' user.. That could be
the problem you are experiencing. You should certainly have an entry for the
IP of your server sending email with PHP in the relay-domains and access
files.. Everything else should be blocked unless necessary.

Later,

Bob Weaver

"Kris Vose" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I am having problems with my mail server. When I use the mail function in
php it resets the domain of the from: address when the script is executed.

For example: when the from: address is set to [EMAIL PROTECTED] it resets it
to the mail servers domain [EMAIL PROTECTED] I believe this is due to
smtp relaying being blocked. Is there anyway around this problem in php or
is the only solution to unblock smtp relaying? Also...this may not be the
problem at all.

All input is appreciated. Thanks

Kris Vose




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to