启动sendmail时报错:
[root@redhat etc]# 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 588: fileclass: cannot open '/etc/mail/trusted-users': World writable derectory [FAILED]
解决方法:
[root@redhat etc]# chmod go-w / /etc /etc/mail /usr /var /var/spool /var/spool/mqueue
[root@redhat etc]# chown root / /etc /etc/mail /usr /var /var/spool /var/spool/mqueue
[root@redhat etc]# service sendmail start
Starting sendmail: [ OK ]