Starting SendMail:
Starting sm-client:
I just made a modification to the host name after the article, I accidentally found that the system will be stuck in SendMail and sm-client for nearly 3 minutes after restarting the CentOS, looking for SendMail and sm-client documents to find that they have made a mistake.
Let me simply say the reason is that SendMail and Sm-client are both MTA, only the network hostname, such as admin.slyar.com, and I before that article directly to the Localhost.localdomain changed to Slyar, does not conform to the network host name specification, so the start-up speed is slow. The solution is as follows:
1. Modify/etc/sysconfig/network under the host name is the network host name Slyar.localdomain
# vim/etc/sysconfig/network
2. Modify/etc/hosts under the host name is the network host name Slyar.localdomain
# vim/etc/hosts
3. Reboot the system, and there will be no slow speed in the future.
# reboot