mail server problem

hi i try to send email with php mail function and i got error in log of mail. The message never come to me. Before it works fine last few month stop working.

Oct  6 17:43:51 sp4776b sendmail[14181]: p96LhpBG014181: from=apache, size=57, class=0, nrcpts=1, msgid=<201110062143.p96LhpBG014181@sp4722b.serverpronto.com>, relay=apache@localhost
Oct  6 17:43:51 sp4776b sendmail[14181]: p96LhpBG014181: to=umaxim@gmail.com, ctladdr=apache (48/496), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30057, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
LVL 1
umaximAsked:
Who is Participating?
 
PapertripCommented:
chkconfig --list sendmail
chkconfig sendmail on
/etc/init.d/sendmail start
netstat -an|grep ':25'

Open in new window

0
 
PapertripCommented:
Are you sure sendmail is listening on port 25?
netstat -an|grep ':25'

Open in new window

0
 
umaximAuthor Commented:
it does not return anything
0
 
umaximAuthor Commented:
thank you
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.