From: Penelope on
Hello,

I am looking for some assistance on a sendmail upgrade issue I'm having
on HP-UX 11i. I have seen several posting on this but nothing I've
read has resolved my issue. I upgraded from 8.13.3 to 8.13.6 and am
receiving the following message in mail.log when sending email -

SYSERR(root): dbm map "Alias0": missing map file /etc/mail/aliases
DSN: dbm map "Alias0": missing map file /etc/mail/aliases
Cannot create database for alias file /etc/mail/aliases

I have changed the permissions per the documentation and get the same
message running sendmail -v -bi.
#chmod go-w / /etc /etc/mail /usr /var /var/spool /var/spool/mqueue
#chown root / /etc /etc/mail /usr /var /var/spool /var/spool/mqueue
#sendmail -v -bi
dbm 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

These are the files\permissions in /etc/mail
csdjpw1#ll /etc/mail
total 352
-rw-r----- 1 root bin 880 Nov 14 2000 aliases
-rw-r----- 1 root bin 24576 Apr 19 14:02 aliases.db
lrwxr-xr-x 1 root sys 39 Apr 19 14:02 helpfile ->
/usr/contrib/sendmail/etc/mail/helpfile
-rw-r--r-- 1 root sys 50 Apr 19 14:07
local-host-names
-r--r--r-- 1 bin bin 10222 Nov 14 2000 mailcap
-r--r--r-- 1 root bin 41193 Apr 19 14:10 sendmail.cf
-r--r--r-- 1 bin bin 718 Apr 19 13:29 sendmail.cw
-r--r--r-- 1 bin bin 1012 Nov 14 2000
service.switch
-rw------- 1 root bin 728 Apr 19 14:11 statistics
-r--r--r-- 1 root bin 41112 Apr 19 14:10 submit.cf

Does anyone have any suggestions on how to resolve this?

Thanks in advance-

From: Andrzej Adam Filip on
"Penelope" <bperez618(a)gmail.com> writes:

> Hello,
>
> I am looking for some assistance on a sendmail upgrade issue I'm having
> on HP-UX 11i. I have seen several posting on this but nothing I've
> read has resolved my issue. I upgraded from 8.13.3 to 8.13.6 and am
> receiving the following message in mail.log when sending email -
>
> SYSERR(root): dbm map "Alias0": missing map file /etc/mail/aliases
> DSN: dbm map "Alias0": missing map file /etc/mail/aliases
> Cannot create database for alias file /etc/mail/aliases
>
> I have changed the permissions per the documentation and get the same
> message running sendmail -v -bi.
> #chmod go-w / /etc /etc/mail /usr /var /var/spool /var/spool/mqueue
> #chown root / /etc /etc/mail /usr /var /var/spool /var/spool/mqueue
> #sendmail -v -bi
> dbm 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

Repeat the command with -d44.4 debug switch.

#sendmail -v -b -d44.4

Sendmail may refuse to "read" file with too permissive permissions of
the file itself or any of "ancestor directories".

> [...]

URL(s):
http://www.sendmail.org/tips/DontBlameSendmail.html
*DO NOT* use DontBlameSendmails to fix your problem.

--
[pl2en Andrew] Andrzej Adam Filip : anfi(a)priv.onet.pl : anfi(a)xl.wp.pl
http://www.sendmail.org/faq/ http://anfi.homeunix.net/sendmail/
Before You Ask: http://anfi.homeunix.net/sendmail/B4UAsk-Sendmail.html