1752571 Members
5024 Online
108788 Solutions
New Discussion юеВ

sendmail

 
SOLVED
Go to solution
Gurcharan Sahota_2
Frequent Advisor

sendmail

We're receiving the following error from sendmail-

`/etc/mail/sendmail.cf: line 698: fileclass: cannot open '/etc/mail/sendmail.cw': Group writable directory'

I've checked previous threads and checked directory permissions and file permissions and they all seem to be in order.

The sendmail process itself will not start now.

We are using HP-UX B.11.23 U ia64 on an rx8620.

All suggestions welcome!
4 REPLIES 4
Matti_Kurkela
Honored Contributor

Re: sendmail

Please type in the following command:
ll -d / /etc /etc/mail

The output should be similar to this:
drwxr-xr-x 22 root root 8192 Jul 23 14:13 /
dr-xr-xr-x 32 bin bin 8192 Jul 23 15:13 /etc
drwxr-xr-x 2 root sys 8192 Jul 22 10:49 /etc/mail

Your timestamps and sizes will of course be different, but the ownerships and permissions should be *exactly* like this. The example output was taken from a fresh HP-UX 11.23 installation.

Sometimes the simplest mistakes are the hardest to spot.

MK
MK
Gurcharan Sahota_2
Frequent Advisor

Re: sendmail

# ll -d / /etc /etc/mail
drwxrwxr-x 44 root root 8192 Jul 18 12:43 /
dr-xr-xr-x 32 bin bin 8192 Jul 21 15:55 /etc
drwxr-xr-x 2 root sys 8192 Jul 23 12:59 /etc/mail
Patrick Wallek
Honored Contributor
Solution

Re: sendmail

Your '/' directory should NOT be group writeable.

drwxrwxr-x 44 root root 8192 Jul 18 12:43 /

should be:

drwxr-xr-x

Gurcharan Sahota_2
Frequent Advisor

Re: sendmail

Patrick,

Many thanks for that, that's exactly what the problem was!

I've corrected the permissions and the sendmail process is working again.