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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
09-25-2002, 03:07 AM
|
#1
|
Member
Registered: Jul 2002
Location: Santa Cruz, CA
Distribution: lfs
Posts: 538
Rep:
|
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.
|
|
|
09-26-2002, 12:54 PM
|
#2
|
Moderator
Registered: May 2001
Posts: 29,415
|
Did you know we have an LFS forum?
Did you include database formats when you built sendmail?
|
|
|
09-26-2002, 06:36 PM
|
#3
|
Member
Registered: Jul 2002
Location: Santa Cruz, CA
Distribution: lfs
Posts: 538
Original Poster
Rep:
|
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?
|
|
|
09-27-2002, 07:19 AM
|
#4
|
Moderator
Registered: May 2001
Posts: 29,415
|
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.
|
|
|
09-27-2002, 10:44 AM
|
#5
|
Member
Registered: Jul 2002
Location: Santa Cruz, CA
Distribution: lfs
Posts: 538
Original Poster
Rep:
|
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.
|
|
|
09-27-2002, 12:31 PM
|
#6
|
Moderator
Registered: May 2001
Posts: 29,415
|
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.
|
|
|
All times are GMT -5. The time now is 06:46 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|