SUMMARY: I'm getting this error: dbm map "Alias0": unsafe map file aliases

From: Dave Martini <martini_at_mrpeabody.llnl.gov>
Date: Thu May 08 2003 - 12:10:21 EDT
Thanks to all who replied.

Two useful commands to look at permissions for sendmail critical 
directories are:

/usr/lib/sendmail -bi -d44.4
and
/usr/lib/mail/sh/check-permissions

This is what ultimately fixed it

# cd /etc/mail
# touch access
# /usr/sbin/makemap dbm /etc/mail/access < /etc/mail/access

For some reason it wanted the access file in /etc/mail. I'm not sure if 
this is a requirement or not for things to work properly.
The error message above had no mention of the access file in it what so ever. 

My original question:

I have solaris 9 and sendmail 8.12.9.
I'm not using Sun's out of the box sendmail binary or there sendmail.cf,
we use our own tweaked version.

I get this error when I try to send mail to an entry in the aliases file

mailx -v root@host.llnl.gov
Subject: test message
this is a test message
.
EOT
host# Warning: .cf file is out of date: sendmail 8.12.9 supports version 10, .cf file is version 0
dbm map "Alias0": unsafe map file aliases: No such file or directory
root... WARNING: cannot open alias database aliases; reading text version
root... queued

The permissions on /etc/mail/aliases as well as /etc and /etc/mail are correct.

aliases is a plain text file. Does it need to be made into a db type file
that sendmail can understand?

I have an entry in my aliases file for root

root: admin@host.llnl.gov

So, mail sent to root should be redirected to admin@host.llnl.gov but the error
message above shows up.

Anyone know a fix for this?

Thanks Much.
David Martini
LLNL
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Thu May 8 12:10:18 2003

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:13 EST