1754019 Members
7722 Online
108811 Solutions
New Discussion юеВ

sendmial not starting

 
SOLVED
Go to solution
Annelise Wilken
Regular Advisor

sendmial not starting

Hello,

We have an rx2600 that is giving the following error message in /var/adm/syslog/mail.log:

# /sbin/init.d/sendmail start
/etc/mail/sendmail.cf: line 698: fileclass: cannot open '/etc/mail/sendmail.cw':
World writable directory
WARNING: World writable directory /
451 4.0.0 /etc/mail/sendmail.cf: line 698: fileclass: cannot open '/etc/mail/sen
dmail.cw': World writable directory

Looking through the forum this appears to indicate a file permission problem - but I've checked all of them and they all appear to be ok: none of the following files are world or group writeable.

/
/etc (bin:bin 555)
/etc/mail (bin:bin 555)
/etc/mail/*
/var
/var/mail
/var/mail/*
/var/spool
/var/spool/mqueue
/home
/home/*
/home/*/.forward


Yet everytime I try and start sendmail I keep getting the same error message as posted at the top of this entry ..... can anyone help???

Many thanks,
4 REPLIES 4
Peter Godron
Honored Contributor

Re: sendmial not starting

Annelise,
I have set mine up as follows:

Dr-xr-xr-x root bin etc
Drwxr-xr-x root bin mail
-r-x-r-s-r-x root smmsp /usr/sbin/sendmail
drwxrwx--- smmsp smmsp /var/spool/clientqueue
drwxr-xr-x root bin /var/spool/mqueue

Robert-Jan Goossens_1
Honored Contributor
Solution

Re: sendmial not starting

Annelise,

Could you check your permissions on next directories

root / 755
# ls -lad /
drwxr-xr-x 22 root root 1024 Feb 17 16:15 /

/etc 555
# ls -lad /etc
dr-xr-xr-x 27 bin bin 6144 May 4 07:26 /etc

Regards,
Robert-Jan
Annelise Wilken
Regular Advisor

Re: sendmial not starting

Hello,

Permissions are:

luna# ls -lad /
drwxrwxr-x 24 root root 8192 May 11 18:36 /
luna# ls -lad /etc
dr-xr-xr-x 29 bin bin 8192 May 11 18:41 /etc

Have changed / to:

drwxr-xr-x 24 root root 8192 May 11 18:36 /


Hurray!!!!!!! Have started sendmail .... Thank you so much!!!! I was so engrossed checking ....mail files I overlooked / .... doh!!!!

Cheers everyone points on the way!!! :)
Annelise Wilken
Regular Advisor

Re: sendmial not starting

changed / to
drwxr-xr-x 24 root root 8192 May 11 18:36 /

now able to start sendmail. (also now able to spell sendmail and not sendmial oops!!!)

Thanks all!!