SUMMARY: dbm map "access": missing map file /etc/mail/access error message

From: Dave Martini <martini_at_mrpeabody.llnl.gov>
Date: Wed Apr 30 2003 - 11:35:30 EDT
Much thanks to Rich Kulawiec who helped me with this until
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
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Wed Apr 30 11:38:37 2003

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