If you have .db files on a Linux system, they may be Berkeley DB (BDB) database files. Berkeley DB originated at the University of California, Berkeley as part of BSD, Berkeley's version of the Unix operating system. The initial release was in 1994. Berkely DB was futher developed by SleepyCat Software from 1996 to 2006. In February 2006, Oracle Corporation acquired SleepyCat and continued development of the software.
You can ascertain if a .db file is a BDB file using
the file command.
Sendmail email software uses .db files stored in
to control various aspects of the software's functionality. For instance,
you can specify the domains for which Sendmail will accept email in
/etc/mail/local-host-names file or create "virtual users"
/etc/mail/virtusertable file. But to alter
Sendmail's behavior using these files, you need to generate .db files from
the text files using the
makemap command. E.g.,
/etc/mail/virtusertable < /etc/mail/virtusertable. If you check
the type of file for the .db file that will be created by the
makemap utility with the
file command, you will
see the following information, if you check from the root account:
# file /etc/mail/virtusertable.db /etc/mail/virtusertable.db: Berkeley DB (Hash, version 9, native byte-order) #
[ More Info ]