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

From: Dave Martini <>
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

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,
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
Subject: test message
this is a test message
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


So, mail sent to root should be redirected to but the error
message above shows up.

Anyone know a fix for this?

Thanks Much.
David Martini
sunmanagers mailing list
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