Summary:Re: sendmail

Xueying He (yhe@shadow.is.jhsph.edu)
Fri, 10 Oct 1997 23:43:39 -0400 (EDT)

Thanks for all responses, the problem has solved.

Solution:
I think that you have to specify:
> DBMDEF= -DNDBM -DNIS -DNISPLUS
> LIBS= -lresolv -lsocket -lnsl -lkstat
whether or not you are running NIS or NISPLUS

in my case before I used:
> DBMDEF= -DNDBM
> LIBS= -lresolv -lsocket -lnsl -lkstat
because I think I am not using NIS and NISPLUS...

Well, I am not sure why.

In the Digital Alpha I only specify -DNDMB and it worked.

======================================
Xueying He

Sr. Unix Sys Admin
Information Systems
School of Public Health
Johns Hopkins University
Phone: (410)614-1940
Fax: (410)955-1752
E-mail: yhe@shadow.sph.jhu.edu
=======================================

On Fri, 10 Oct 1997, Nadya Williams wrote:

>
> I have tried to do installation of sendmail 8.8.7 today, and I
> run into the same problem :
>
> 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
>
> What I ended up doing was removing old aliases.pag and aliases.dir,
> then touching them. Then I run newaliases and it worked.
>
> In my case I have
> DBMDEF= -DNDBM -DNIS -DNISPLUS
> LIBS= -lresolv -lsocket -lnsl -lkstat
>
> Hope it helps.
> Nadya Williams
>