LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-14-2006, 06:57 PM   #1
cotton213
LQ Newbie
 
Registered: Dec 2004
Location: Michigan
Distribution: Slackware, Red Hat, Ubuntu
Posts: 23

Rep: Reputation: 1
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail Aliases: forward mail to script mikeshn Linux - Software 2 07-03-2010 09:22 PM
Sendmail + /etc/aliases = Unprivlieged User mail ckoniecny Linux - General 1 10-22-2005 06:41 AM
sendmail: not possible to pipe mail to programs using ~/.forward && /etc/mail/aliases fhd Linux - Networking 1 01-09-2005 07:05 PM
Sendmail aliases nis problem in solaris simquest Linux - General 1 11-01-2002 09:54 AM
sendmail & /etc/mail/aliases adam_boz Linux - Software 5 09-27-2002 01:31 PM


All times are GMT -5. The time now is 08:51 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration