Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have developed a web app using PHP 5.0 and MySQL 5.0. It runs on Apache on a Linux Redhat. It has a feature by which, the app sends email to the user's registered email address using mail() function.

Emails (sent from our server) are received only for GMail or Hotmail email account. It is not receiving for Yahoo or Rediffmail other email account.

Any idea of where to start debugging this?

Thank you.

share|improve this question
up vote 1 down vote accepted

PHP is probably not the actual sender of the eamil.

Check the email server (sendmail, exim, etc.) log files (on debian, logs are in /var).

Check the admin@ or postmaster@ email box for non-delivery notices.

Check if our ISP is publishing RDNS for your server IP with the wrong domain name.

Although less likely, check your domain's SPF at your registrar.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.