LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   sendmail and NIS databases (aliases, mail.aliases) - what kind of databases? (http://www.linuxquestions.org/questions/linux-software-2/sendmail-and-nis-databases-aliases-mail-aliases-what-kind-of-databases-424866/)

cotton213 03-14-2006 06:57 PM

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
Version 8.13.4
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

#file 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?

Thanks


All times are GMT -5. The time now is 12:49 PM.