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

From: Dave Martini (martini_at_mrpeabody.llnl.gov)
Date: 04/30/03

  • Next message: hemant narang: "Booting without keyboard.."
    Date: Wed, 30 Apr 2003 08:35:30 -0700 (PDT)
    To: sunmanagers@sunmanagers.org
    
    

    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


  • Next message: hemant narang: "Booting without keyboard.."