[20160828]Linux SendMail服务启动慢解决.txt
--今天没事,看看sendmail启动慢的问题,实际上我们系统根本不需要启动这个服务,也不用.
--不过还是探究看看,实际上基本可以猜测出与dbs有关.
--google,百度一下,修改/etc/hosts:
127.0.0.1 localhost.localdomain localhost
修改为:
127.0.0.1 localhost.localdomain localhost xxxx
--xxxx为本机的主机名。
--另外一种方式假设我本机IP=192.168.100.78,修改/etc/hosts文件:
192.168.100.78 xxxx xxxx.
--总结只要要过dbs解析就ok了。