Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

When I run my web application which sends mail on my dev machine, the mail is not sent. The mail.info file shows that there was a host name lookup failure. How do i fix it? (i am trying to send mail to my gmail account.)

share|improve this question

migrated from stackoverflow.com May 4 '10 at 4:22

This question came from our site for professional and enthusiast programmers.

What OS is the machine running ? –  nc3b May 3 '10 at 19:05
ubuntu 8.04 is it –  umar May 3 '10 at 19:06

1 Answer 1

Looks like there is something wrong with your server's dns settings or sendmail itself if it has separate dns settings. Make sure they are valid and alive.

share|improve this answer
how do i correct my server's dns settings? –  umar May 4 '10 at 16:58

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.