Re: smtp relay problem
| From: | phplists at woodenpickle dot com | Date: | Tue, 16 Apr 2002 15:10:50 +0000 |
| Subject: | Re: smtp relay problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-93207@lists.php.net to get a copy of this message | ||
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" <KVose@alidaconnection.com> wrote in message
news:0D192E12994BF64B84EB7BE6D960E3900E39E4@alidamail.alidaconnection.com...
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 kvose@kvose.com it resets it
to the mail servers domain kvose@mailserver.com. 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