HOW TO START STOP SMTP SERVICERS IN LINUX

STEP 1 :- Check SMTP status

 [root@fintest ~]#  /etc/init.d/sendmail status
sendmail (pid  1744) is running...
sm-client (pid  1754) is running...

STEP 2:- Start SMTP server

[root@fintest ~]#  /etc/init.d/sendmail start
Starting sendmail:                                         [  OK  ]
Starting sm-client:                                        [  OK  ]

STEP 3:- Stop SMTP server

[root@fintest ~]#  /etc/init.d/sendmail stop
Shutting down sm-client:                                  [  OK  ]
Shutting down sendmail:                                   [  OK  ]

Comments