LinuxQuestions.org
Review your favorite Linux distribution.
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 09-25-2002, 03:07 AM   #1
adam_boz
Member
 
Registered: Jul 2002
Location: Santa Cruz, CA
Distribution: lfs
Posts: 538

Rep: Reputation: 30
sendmail & /etc/mail/aliases


Hi all. I have just compiled and installed sendmail. I am having problems running "sendmail -v -bi" (and newaliases, which I think is what that really means). I get this error:
Cannot rebuild aliases: no database format defined
Cannot create database for alias file /etc/mail/aliases

I have installed db, and it seems like that is working (if db has anything to do with it). Does anybody have any suggestions?

Thanks in advance

-Adam

ooh yeah... here's my /etc/mail/aliases file:

postmaster: root
MAILER-DAEMON: root

Last edited by adam_boz; 09-25-2002 at 03:09 AM.
 
Old 09-26-2002, 12:54 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Did you know we have an LFS forum?
Did you include database formats when you built sendmail?
 
Old 09-26-2002, 06:36 PM   #3
adam_boz
Member
 
Registered: Jul 2002
Location: Santa Cruz, CA
Distribution: lfs
Posts: 538

Original Poster
Rep: Reputation: 30
Yes, i know there is an lfs forum, but i figured this topic was general enough to be in the software section. I am not sure if I included the formats... here's how I built it (straight from the BLFS instructions)

cat > devtools/Site/site.config.m4 << "EOF"
define(`confMANGRP',`root')
define(`confMANOWN',`root')
define(`confSBINGRP',`root')
define(`confUBINGRP',`root')
define(`confUBINOWN',`root')
EOF
cd sendmail &&
sh Build &&
cd ../cf/cf &&
cp generic-linux.mc sendmail.mc &&
mkdir /etc/mail &&
sh Build sendmail.mc &&
sh Build install-cf &&
cd ../../ &&
sh Build install

I don't see anything about databases... Did i skip something?
 
Old 09-27-2002, 07:19 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Uhm, No, I mean, if you did build *sendmail* yourself, did you configure it to use one or more of the database types to use?
I haven't got LFS, and I didn't read its docs, but if you installed for instance db3 then in devtools/Site/site.config.m4 you could do:
APPENDDEF(`confINCDIRS',`-I/usr/include/db3')
define(`confMAPDEF', `-DNEWDB')

The sendmail docs at sendmail.org should also point at installing necessary database formats for use with sendmail.
 
Old 09-27-2002, 10:44 AM   #5
adam_boz
Member
 
Registered: Jul 2002
Location: Santa Cruz, CA
Distribution: lfs
Posts: 538

Original Poster
Rep: Reputation: 30
Thanks unSpawn... I'll check that out. Usually when the instructions are complicated in LFS, i just kindof blindly follow them, with the hope of deciphering them later. Looks like this is one case where i have to decipher NOW.

ps- Maybe you're right.... you can move the thread to the lfs forum if you want.
 
Old 09-27-2002, 12:31 PM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Well, hope it gets you there... About moving, only moderators (mcleodnine or rshaw) or jeremy can do that. I'd suggest you start up a new thread in LFS when necessary.
 
  


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 08:22 PM
Sendmail + /etc/aliases = Unprivlieged User mail ckoniecny Linux - General 1 10-22-2005 05:41 AM
sendmail: not possible to pipe mail to programs using ~/.forward && /etc/mail/aliases fhd Linux - Networking 1 01-09-2005 06:05 PM
Sendmail & remote e-mail WorldBuilder Linux - Networking 4 08-29-2004 09:18 PM
mail & sendmail problems alaios Linux - Networking 1 12-07-2003 06:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:46 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration