(no subject)

Ying He (yhe@shadow.is.jhsph.edu)
Fri, 10 Oct 1997 15:54:13 -0400 (EDT)

To: sun
Subject: sendmail.8.8.7

Hi, Sun_managers:

Solaris 2.5(2.5.1) on Sparc 4 and Ultra 3000...

I have sent a question about sendmail.8.8.7 (not 8.7.7, sorry)

I recieved a lot of responses and I have tried all suggestions,
(Thanks for all responses , I really apprecite)
I still get following messages when I used newaliases command:

hash map "Alias0": unsafe map file /etc/mail/aliases: Permission denied
WARNING: cannot open alias database /etc/mail/aliases
Cannot create database for alias file /etc/mail/aliases: No such device

1. I do have all aliases* files( aliases aliases.pag aliases.dir..
under /etc/mail
2. I do have the right permision 644
3. I even donwload db.1.86 and installed in the system( I just copy libdb.a
and some head files in the right place, am I right?), I specified
in the Makefile

DBMDEF= -DNEWDB
and add -ldb

LIBS= -lresolv -lsocket -lnsl -lkstat -ldb

I am attaching the message from Dave, DAve could you please
tell me a little bit detail? actually I did tried to use both
ndbm.h from db.1.86 and /usr/include/ndbm.h, I am using cc not gcc.

....

Thanks a lot.

Ying

>From david@fir.xtend.net Wed Oct 8 17:40 EDT 1997
To: yhe@shadow.is.jhsph.edu
Subject: Re: sendmail 8.7.7 question
X-Status:

It actually looks as if you're running sendmail 8.8.7.

The "WARNING: writable directory..." messages are issued when the
directory in question is group-writable.

However, some of the other symptoms you report remind me of what
happened when I tried to build sendmail, and in the compilation process,
there was some confusion regarding which DB package(s) to use: you
can't use both GNU ndbm and the Sun-supplied ndbm at the same time...
and mixing and matching ndbm.h from one package with the libraries from
the other is what seems to have caused problems for me that time.

Once I corrected that, I was able to use the aliases just fine.

david