[root@host01 log]# nmap -p 25 localhost
Starting nmap V. 3.00 (
www.insecure.org/nmap/ )
The 1 scanned port on localhost.localdomain (127.0.0.1) is: closed
Nmap run completed -- 1 IP address (1 host up) scanned in 0 seconds
[root@host01 log]# service sendmail status
sendmail (pid 15801 15611 15603 15602) is running...
[root@host01 log]# service sendmail status
sendmail (pid 15801 15611 15603 15602) is running...
[root@host01 log]# service sendmail restart
Shutting down sendmail: [ OK ]
Shutting down sm-client: [ OK ]
Starting sendmail: [ OK ]
Starting sm-client: [ OK ]
[root@host01 log]# nmap -p 25 localhost
Starting nmap V. 3.00 (
www.insecure.org/nmap/ )
The 1 scanned port on localhost.localdomain (127.0.0.1) is: closed
Nmap run completed -- 1 IP address (1 host up) scanned in 0 seconds
[root@host01 log]#