Release
 
Part 2 - Installing Qmail Itself

Now that you've downloaded all the needed packages, we can start the install. At this point you should have a qmailrocks source directory located at /downloads/qmailrocks. If you don't, go back to step 1.

To start things off, I've created a handy little shell script that takes care of the first portion of getting qmail, ucspi-tcp and daemontools intalled. Simply run this script from the command prompt of your Solaris box and you should be golden. The script will tell you what it's doing along the way.

/downloads/qmailrocks/scripts/install/qmr_install_freebsd-s1.script   (click here to view this script)

If all goes well, you should have all the needed user and groups created as well as all the needed directories, permissions and ownership settings needed for the installation of qmail, ucspi-tcp and daemontools

Lastly, we apply 3 patches to qmail before we compile it. I've included a handy little script to apply all 3 patches at once. The 3 patches we are going to apply are: 1) The standard qmail-1.03 patch 2) The qmailqueue patch to enable the use of qmail--scanner later in this installation and 3) The auth-jms1.4a patch to enable SMTP authentication. Please note that if you downloaded the qmailrocks.tar.gz package before February 15th, 2004, you will need to download it again as the script below is a new feature in the qmailrocks package as of this date.

So let's patch qmail...

/downloads/qmailrocks/scripts/util/qmail_patches.script   (click here to view this script)

Now we build Qmail...

cd /usr/src/qmail/qmail-1.03

make man

make setup check

./config-fast your_fqdn_hostname (ex: ./config-fast mail.mydomain.com)

If there are no errors, Qmail has been built successfully!

Now we build ucspi-tcp...

cd /usr/src/qmail/ucspi-tcp-0.88/

make

make setup check

If you don't get any errors, that's it for ucspi-tcp!

Now we build the daemontools....

cd /package/admin/daemontools-0.76

package/install

If no errors are reported, you've successfully compiled the daemontools package!

Note: You may notice that after you install daemontools, the install script will tell you to reboot your server in order to start the svcscan service. Take this advise and reboot your server now.

reboot

When your server comes back online, a "ps -aux" command should reveal that the daemontools "svcscan" service is now running. Woohoo!

OK, Qmail is almost totally installed but we're going to pause right here and install a bunch of handy tools and features that will make Qmail pretty and fun! After that, we'll make some final changes to Qmail and then crank it up!

Proceed to Part 3


 

Color Coded Qmail Installation Key
 
Regular Black Text 
 Qmail installation notes and summaries by the author. Me talking.
 
Bold Black Text 
 Commands to be run by you, the installer.
 
Bold Maroon Text 
 Special notes for Redhat 9 users.
 
Bold Red Text 
 Vital and/or critical information.
 
Regular/Bold Purple text 
 Denotes helpful tips and hints or hyperlinks.
 
Regular Orange Text 
 Command line output.
Cp

Regular green text 

 Denotes the contents of a file or script.
home | about | the installation | utilities | faq | contact | journal | mailing list | list archive | forum | links | donatemerchandise
modified
This mirror last modified: Thursday, August 9th, 2012 15:59:12 CEST
 
The Rocks Project