Whole document tree 2. Component installation2.1. PreparationsYou have two options
2.1.1. Get source rpmsYou will need:
2.1.2. Get binary rpmsQmail does not come in binary form. Such packages are explicitly disallowed by the author of Qmail, and frustrating as it may be, I understand his reasoning. Courier-imap does not come in binary form, unless you want to use the one I built. If you want mine, visit http://www.clearrivertech.com/linux/HOWTO/supportfiles/. VMailMgr does not come in binary form that supports Courier-imap, unless you want to use the one I built. If you want mine, email me, and I will send it.
2.1.3. Get deb packagesThere are multiple locations for qmail and vmailmgr deb packages. Courier-imap is part of the normal debian applications. You can get them in the following locations:
You will need:
2.1.4. Get tarred sources (for non-RPM users)If your system does not have, or you do not use RPMS, you can install from source.
2.2. Install support packages2.2.1. Install with RPMS2.2.1.1. Compiling SRC.RPM'sSimply run the following command for each package rpm --rebuild <package.src.rpm> -Example-
2.2.1.2. Installing RPM'sIf you compiled the source rpms, the binaries will be located in /usr/src/redhat/RPMS/i386/ or something similar. Simply run the following command for each package rpm -ivh <location>/<package.i386.rpm> -Example-
2.2.2. Install with debsRun the following commands for each package (as root) dpkg -i <package.deb> -Example-
2.2.3. Install with sourceRun the following commands for each package (As non-root user) tar zxf <package.tar.gz> cd <newly created dir> ./configure make (As root) make setup check (for ucspi-tcp and daemontools) or make install (for ucspi-unix and supervise-scripts) -Example-
2.3. Install Qmail2.3.1. Install with RPMS2.3.1.1. Compiling SRC.RPM'sAfter installing the support packages, Simply run the following command: rpm --rebuild <package.src.rpm> -Example-
2.3.1.2. Installing RPM'sAfter compiling the source rpms, the binaries will be located in /usr/src/redhat/RPMS/i386/ or something similar. Simply run the following command for the qmail package rpm -ivh <location>/<package.i386.rpm> -Example-
* note start * - Remove sendmail and any dependant applications prior to installing Qmail - by running the following command for each package - rpm -e <packagename>* - - On my system I had to remove sendmail, so I typed - rpm -e sendmail * note end * 2.3.2. Install with debsRun the following commands for each package (as root) dpkg -i <package.deb> -Example-
2.3.3. Install with sourceRun the following command (As non-root user) tar zxf <package.tar.gz> cd <newly created dir> (Now read the INSTALL file and follow the steps to install Qmail) -Example-
2.4. Install Courier-imap2.4.1. Install with RPMS2.4.1.1. Compiling SRC.RPM'sBuild the courier-imap rpms from the tar file rpm -ta courier-imap-1.4.3.tar.gz * note start * - This errors out if you compile as root, but if your not root you - wont have permissions to /usr/src/redhat. You will want to build as a - non-root user, so create a ".rpmmacros" file (for rpm v3 and later) in - your home directory containing the line "%_topdir /path/to/home/redhat". - Then create your own "redhat" directory containing all the subdirs that - /usr/src/redhat contains. - You should never build RPMs as root unless you have to. * note end * * I will mention again, that I have built the binaries, and you can get them at * * http://www.clearrivertech.com/linux/HOWTO/supportfiles/. * 2.4.1.2. Installing RPM'sAfter compiling the source rpms, the binary will be located in /usr/src/redhat/RPMS/i386/ or something similar. Simply run the following command for each package rpm -ivh <location>/<package.i386.rpm> -Example-
2.4.2. Install with debsRun the following commands for each package (as root) apt-get <package.deb> -Example-
2.4.3. Install with sourceRun the following command (As non-root user) tar zxf <package.tar.gz> cd <newly created dir> ./configure make (As root) make install -Example-
2.5. Install VMailMgr2.5.1. Install with RPMS2.5.1.1. Compiling SRC.RPM'sThere is a problem compliling VMailMGR on RedHat 7.x distros (and maybe other new ones as well). To solve this you must edit the source files These files need to have an #include <string.h> added
Simply run the following command rpm --rebuild <package.src.rpm> -Example-
2.5.1.2. Installing RPM'sIf you compiled the source rpm, the binaries will be located in /usr/src/redhat/RPMS/i386/ or something similar. Simply run the following command for each package rpm -ivh <location>/<package.i386.rpm> -Example-
2.5.2. Install with debsRun the following commands for each package (as root) dpkg -i <package.deb> -Example-
2.5.3. Install with sourceThere is a problem compliling VMailMGR on RedHat 7.x distros (and maybe other new ones as well). To solve this you must edit the source files These files need to have an #include <string.h> added
Run the following commands (As non-root user) tar zxf <package.tar.gz> cd <newly created dir> ./configure make (As root) make install -Example-
|