While starting a sendmail i am getting the below error
[root@ip-132-31-52-30 ~]# /etc/init.d/sendmail start
Starting sendmail: 451 4.0.0 /etc/mail/sendmail.cf: line 87: fileclass: cannot open '/etc/mail/local-host-names': World writable directory
451 4.0.0 /etc/mail/sendmail.cf: line 596: fileclass: cannot open '/etc/mail/trusted-users': World writable directory
[FAILED]
FIX:
check your directory permissions
ls -ld / /etc /etc/mail
drwxr-xr-x 28 root root 4096 Jun 11 16:16 /
drwxr-xr-x 96 root root 12288 Jun 26 04:12 /etc
drwxr-xr-x 5 root root 4096 Jun 17 18:13 /etc/mail
if you have different permissions do
chmod 755 / /etc /etc/mail
and try starting sendmail.It will start smoothly without any error.
[root@ip-132-31-52-30 ~]# /etc/init.d/sendmail start
Starting sendmail: 451 4.0.0 /etc/mail/sendmail.cf: line 87: fileclass: cannot open '/etc/mail/local-host-names': World writable directory
451 4.0.0 /etc/mail/sendmail.cf: line 596: fileclass: cannot open '/etc/mail/trusted-users': World writable directory
[FAILED]
FIX:
check your directory permissions
ls -ld / /etc /etc/mail
drwxr-xr-x 28 root root 4096 Jun 11 16:16 /
drwxr-xr-x 96 root root 12288 Jun 26 04:12 /etc
drwxr-xr-x 5 root root 4096 Jun 17 18:13 /etc/mail
if you have different permissions do
chmod 755 / /etc /etc/mail
and try starting sendmail.It will start smoothly without any error.
No comments:
Post a Comment