sendmail 启动慢解决办法
时间:2009-03-17 来源:yangle21g
在修改/etc/hosts后sendmail启动的很慢,查了些资料,解决办法是
修改 /etc/hosts
修改前:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
127.0.0.1 yl
修改后:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain yl
::1 localhost6.localdomain6 localhost6
127.0.0.1 yl
最后一行 yl 是我新加的主机名子,这么改的原因自己google一把就知道了。
修改 /etc/hosts
修改前:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
127.0.0.1 yl
修改后:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain yl
::1 localhost6.localdomain6 localhost6
127.0.0.1 yl
最后一行 yl 是我新加的主机名子,这么改的原因自己google一把就知道了。
相关阅读 更多 +