转载
启动sendmail办事呈现错误。
2、放松文件权限搜检:
即可正常启动SendMail办事。
[root@newraweb mail]# service sendmail start
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
解决办法:
1、设置公道权限
chmod go-w / /etc /etc/mail /usr /var /var/spool /var/spool/mqueue
2、放松文件权限搜检:
调换/etc/mail/sendmail.cf 中
第91行Fw/etc/mail/local-host-names为Fw-o /etc/mail/local-host-names
第588行Ft/etc/mail/trusted-users为Ft-o /etc/mail/trusted-users
调换/etc/mail/submit.cf中
第545行Ft/etc/mail/trusted-users为Ft-o /etc/mail/trusted-users
即可正常启动SendMail办事。
转载于:https://blog.51cto.com/hooqee/964223