Monday
May052008
Sendmail says: stat=Deferred: Connection reset
Monday, May 5, 2008 at 9:57AM
I have been struggling with this problem for the last 2 days and finally figured out the solution. Your mileage may vary depending on your network configuration but first some background on mine. I have a Lighttpd web server that i am running some PHP mail scripts on. We are trying to use our company's MTA to relay messages so i had this line in the
Still, things didn't seem to want to work. My network administrator wasn't evening seeing the mail attempts on our mail server so the problem was definitely on the webserver.
Turns out (as these things often are) that it was a dumb syntax problem. The following change fixed everything:
Hope this helps if you are having a similar problem.
sendmail.cf file, with 10.0.0.116 being the IP address of our MTA. define(`SMART_HOST', `10.0.0.116')dnlStill, things didn't seem to want to work. My network administrator wasn't evening seeing the mail attempts on our mail server so the problem was definitely on the webserver.
Turns out (as these things often are) that it was a dumb syntax problem. The following change fixed everything:
define(`SMART_HOST', `[10.0.0.116]')dnlHope this helps if you are having a similar problem.
in
coding,
linux,
sendmail,
troubleshooting
coding,
linux,
sendmail,
troubleshooting 

Reader Comments (3)
The dumb syntax was an issue for me as well...
Saved me a lot of work with this desc.
THANKS.
Worked perfect
Thanks a lot
Good stuff!