Google Answers Logo
View Question
 
Q: Problems with E-Mail Server on one Server Box and Web Server on another ( No Answer,   1 Comment )
Question  
Subject: Problems with E-Mail Server on one Server Box and Web Server on another
Category: Computers > Programming
Asked by: beave-ga
List Price: $20.00
Posted: 31 Jul 2006 13:39 PDT
Expires: 30 Aug 2006 13:39 PDT
Question ID: 751212
Right now, I have my web server (apache2) on one server and my email
server on another.  The web server and email server work fine
independently (i.e. the website and scripts are operational and the
email server works from both the webmail interface and also from
witihn email clients like outlook).  The problem arises when we want
to send out (using php or sendmail) email from the web server based on
the customer's input. These emails are being blocked by spam blockers
on the receiving end because the "From" of the email is
name@domainname.com but when those receiving hosts try to match up the
domainname.com with the IP it is coming from, there's an incongruity.
I've looked at the headers and it still says that the email is being
sent from either "apache@localhost" or from the domain
"localhost.localdomain" I've tried multiple programming techniques
(e.g. trying to set the "from", "reply-path", "reply-to" headers as
well as internal php config settings like "SMTP", "SMTP_port", and
"sendmail_from"), none of which have produced the results desired. So,
I suppose there should be an actual question in here - how do I get
emails to be sent from my web server through php using the email
addresses from my email server without spam blockers deflecting them?
Answer  
There is no answer at this time.

Comments  
Subject: Re: Problems with E-Mail Server on one Server Box and Web Server on another
From: rssohan-ga on 01 Aug 2006 09:13 PDT
 
If you take a look at the php.net mail() function documentation (and
especially the comments at the bottom of the page), a situation
similar to yours and a number of potential solutions are outlined.

FYI I used this link: http://uk2.php.net/mail

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy