LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   sendmail is not working & on $prompt the cmd sendmail hangs (http://www.linuxquestions.org/questions/linux-software-2/sendmail-is-not-working-and-on-%24prompt-the-cmd-sendmail-hangs-431266/)

Pavan mahoorker 04-03-2006 05:40 AM

sendmail is not working & on $prompt the cmd sendmail hangs
 
Hi,
I am using Red Hat Enterprise Linux ES release 3 (Taroon).
I was using my sendmail command in one of my script and it used to work fine. After few days i have changed my DNS settings and after changing to the new DNS server IPs my sendmail is not working. Even if i give the command on the Linux command promt then it hangs for logtime without any response. My DNS settings are fine as i m able to ping to any websites in the net.

Please let me know how to resolve & debug the issue.

thanks & regards
-Pavan

unSpawn 04-04-2006 03:57 PM

After few days i have changed my DNS settings and after changing to the new DNS server IPs my sendmail is not working.
Does the system/mail log show anything? Where did you make changes? Did you mess with /etc/hosts, like delete the "localhost" line? Problems like this can point to Sendmail not being able to resolve the address of the server it runs on. Check by executing as root: "sendmail -bt -d0.13" ("/quit" to quit). If you can't manage to fix it yourself let Sendmail try to start (put it in the background and wait a few minutes) and then post any relevant loglines and output of running "sendmail -bt -d0.13".


All times are GMT -5. The time now is 10:39 PM.