LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 742|回复: 2

sendmail起不来,求助:(

[复制链接]
发表于 2004-11-22 11:29:57 | 显示全部楼层 |阅读模式
# service sendmail restart

Shutting down sendmail:                                    [FAILED]
Shutting down sm-client:                                   [FAILED]
Starting sendmail: 451 4.0.0 /etc/mail/sendmail.cf: line 91: fileclass: cannot open '/etc/mail/local-host-names': World writable directory
451 4.0.0 /etc/mail/sendmail.cf: line 570: fileclass: cannot open '/etc/mail/trusted-users': World writable directory
                                                           [FAILED]
Starting sm-client: /etc/mail/submit.cf: line 527: fileclass: cannot open '/etc/mail/trusted-users': World writable directory
                                                           [FAILED]


把sendmail重装了也没用,why?
发表于 2004-11-22 13:53:29 | 显示全部楼层
chmod -R 700 /etc/mail
 楼主| 发表于 2004-11-22 14:01:34 | 显示全部楼层
对的,是权限不对,按照官网上的方法解决了 :)


chmod go-w / /etc /etc/mail /usr /var /var/spool /var/spool/mqueue
chown root / /etc /etc/mail /usr /var /var/spool /var/spool/mqueue

然后可以用如下命令验证
sendmail -v -bi
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表