sendmail and NIS databases (aliases, mail.aliases) - what kind of databases?
I'm trying to understand what kind of database is being created when I rebuild my mail aliases maps. Here is how sendmail was built:
# sendmail -bt -d0.1 </dev/null
Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7
NAMED_BIND NETINET NETUNIX NEWDB NIS PIPELINING SASLv2 SCANF
SOCKETMAP STARTTLS TCPWRAPPERS USERDB XDEBUG
I can run newaliases, and I get this:
-rw-r----- 1 root smmsp 49152 Mar 14 18:40 mail.aliases.db
# file mail.aliases.db
mail.aliases.db: (1628767744 words)
What kind of database is this? According to everything I've read, it should be a Berkeley DB (4.2) but how can I verify this?
When I run make in the /var/yp directory, I get this:
# make mail
# ls -al mail.aliases
-rw------- 1 root root 398038 Mar 14 18:44 mail.aliases
mail.aliases: GNU dbm 1.x or ndbm database, little endian
They are obviously not using the same db builder. Can anyone help me figure out what kind of database sendmail is generating?
|All times are GMT -5. The time now is 09:42 PM.|