Apps :: Trying to use MAKE for POSTFIX
Can someone help me out here?
I downloaded postfix, Install the GCC.... but when I go to postfix directory and try to make it I am missing a db.h file...
Here is the message...
No <db.h> include file found.
Install the appropriate db*-devel package first
Question? Does DSL have that on it's repository?
If not, where do I get it?
The apt-get is easier then the tar file route. Make sure you enable it under tools.
In a root shell:
apt-get & enter gets a list of commands
apt-get install **packagenamehere** & enter installs the application. (If it is in the packages that are avalible)
I believe, not 100% sure yet, the application you are missing is call Berkley Database, don't worry about it.(http://dev.sleepycat.com/downloads/releasehistorybdb.html).
I had not run them on DSL. I mentioned them because they are what I set up on clients servers. And that I know they are easy (usally) to setup. So, I just installed postfix on a DSL system with the following commands in a root shell "apt-get install postfix" Follow the destructions and it will accept email when you are finished. Takes about 5 minutes after download to configure.
Additional Commands:
"apt-get install procmail", should install in about 2 minutes or less and ask no questions.
"apt-get install spamassassin"
Might need the following as well...
"apt-get install perl-base perl-modules" Perl must be on for spamassassin. Takes a few minutes
You will still need dovecot, imapd or something to allow people to loginto and get there emails. These appear to need to be loaded as tarballs. If your machine is forwarding only then you do not need them. Procmail & postfix can do that. I will finish this tommorrow.
If you want a cool web management program install "apt-get install webmin" then login to http://localhost:10000 as root and then under servers you can manage your email server.
Smooth flights...:)
300c_pilot... Thanks!!!!!
I appreicate your help.
Check it out... after I tried the make command in the postfix directory where I uncompressed it, it wanted the db.h file and I stated eariler.
I googled it and found db.h is part of the the Berkley DB stuff, so I went to sleepcat.com, so I will install that tonight and then try to apt-get install postfix?
Or should I just follow the directions which say after I make and install the Berkley stuff, do a make in the postfix directory and it should work?? I hope..
Now, I have seen apt-get meantioned in other areas on this forum but I wasn't totallly sure what is was for. So when you use apt-get, it goes out and pulls the dependancy files that you need automatically?
But, yes you are right about what I am missing, the db.h file is part of the Berkley DB and I will be installing that tonight when I get home from work.
The problem is, I only have about 400mb left. I was hoping to have 100mb left for my forum to grow(That should be good for the next 3 years), 150mb for email accounts (150mb split up 4 way, inbox's for me and my wife and 2 kids), so that leaves me with about 150mb to mess with.
How much space does spamassassin, dove and other package you suggested take after they are uncompressed? I am not worried about storing the compressed files on this machine, I have samba running and can store them on my Win2K server and access them as needed off the network.
However, I do have a Win98 partition on hda1 that is 700mb, I could nuke that partition and create freespace with it. Do you know of a product for linux like partition magic that will grow a linux partition from freespace? So I could just add to my application partition hda5, take 700mb of freespace (Old WIN98 Partition) and grow the hda5.
Should have never kept that Win98 partition, I never use it...
If there is no product like that, I could nuke the whole HD and start over, but I am getting pressed for time. In 3 weeks, my garage will be to hot to run the WIN2k server and the laptop will have to be running as my email and web server.
Or maybe using the freespace on hda1 for my mail boxes and other stuff. I don't know, so many options.
300c_pilot...
Also, are you former miliitary? Just wondering...I see your machine gun avatar...
Oh yeah...just to let you know, I downloaded the 4.4.20 version of Berkley DB...
not that it matters.
I probably could have downloaded an older verison to save space though.
Next Page...
original here.