[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 261
  • Last Modified:

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]
0
umaxim
Asked:
umaxim
  • 2
  • 2
1 Solution
 
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
 
PapertripCommented:
chkconfig --list sendmail
chkconfig sendmail on
/etc/init.d/sendmail start
netstat -an|grep ':25'

Open in new window

0
 
umaximAuthor Commented:
thank you
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now