1836770 Members
2218 Online
110109 Solutions
New Discussion

Re: sendmail error.

 
someone_4
Honored Contributor

sendmail error.

Hello
when I try to start sendmail I get this warning error:
(NET-dbsvr7) /etc/mail# /sbin/init.d/sendmail start
WARNING: writable directory /var
WARNING: writable directory /etc
WARNING: writable directory /etc
/etc/mail/aliases: 6 aliases, longest 9 bytes, 76 bytes total
sendmail


When I try to sendmail to root I get this:
/etc/mail# sendmail -v root
/etc/mail/sendmail.cf: line 0: WARNING: writable directory /etc
/etc/mail/sendmail.cf: line 662: WARNING: writable directory /etc
/etc/mail/sendmail.cf: line 665: WARNING: writable directory /etc
WARNING: writable directory /var
WARNING: writable directory /etc


Can someone tell me if this is an issue?
Or how to fix it? I already loaded the new sendmail.cf file from newconfig.

Richard
5 REPLIES 5
linuxfan
Honored Contributor

Re: sendmail error.

Hi Richard,

Check the permissions of /etc /var
it should 555 (dr-xr-xr-x) and owned by bin:bin

-HTH
Ramesh
They think they know but don't. At least I know I don't know - Socrates
someone_4
Honored Contributor

Re: sendmail error.

I did
dr-xr-xr-x 21 bin bin 1024 Jul 27 11:34 var

dr-xr-xr-x 26 bin bin 6144 Aug 10 21:19 etc

linuxfan
Honored Contributor

Re: sendmail error.

Hi Richard,

Which version of sendmail are you running?
One of the ways of finding the version is
what /usr/lib/sendmail |grep version

-Regards
I am RU
They think they know but don't. At least I know I don't know - Socrates
James R. Ferguson
Acclaimed Contributor

Re: sendmail error.

Hi Richard:

BTW, you have responses to additional questions you have posed in some of your other threads; notably:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0xe4efd211e18ad5118ff10090279cd0f9,00.html

Too bad the Forum doesn't offer a list of "last-asked" questions within a user's profile so one can easily track questions one has posed. ;-)

Regards!

...JRF...
someone_4
Honored Contributor

Re: sendmail error.

Hello

Here is the version #

what /usr/lib/sendmail |grep version
version.c 8.8.6.1 (Berkeley) 6/14/97 (PHNE_17190)