SUMMARY: dbm map "access": missing map file /etc/mail/access error message
2007-12-25 1:10:00
it was solved.
My Original question:
I'm getting this error in my console window
dbm map "access": missing map file /etc/mail/access
I have solaris 8, sendmail 8.12.9. I have the access file
in /etc/mail but there is nothing in it.
What entries does it want in this file and why do I keep
getting this error in my console window every few minutes?
The Fix:
I had the access file in /etc/mail which I created with a touch command
but this wasn't the format that sendmail expected.
My sendmail.cf expects the contents of access.db to
be of format "dbm" because I have this line in my sendmail.cf file
Kaccess dbm -T<TMPF> /etc/mail/access
So, running this:
/usr/sbin/makemap dbm /etc/mail/access < /etc/mail/access
Created the access.db file in /etc/mail of the correct format, "dbm" for sendmail.
Some sendmail.cf files could want the "hash" version instead:
There may be a line in sendmail.cf that looks like this
Kaccess hash -T<TMPF> /etc/mail/access
So you would run this command to create the "hash" version of the access.db file.
/usr/sbin/makemap hash /etc/mail/access < /etc/mail/access
Dave Martini
LLNL
Comments
Got something to say?
You must be logged in to post a comment.

