Sam [mailto:[EMAIL PROTECTED]]
> That has been the case at least since 4.0. The problem is that Red Hat's
> installer forces a sendmail install no matter what, even if another package
> provides smtpdaemon.
If you are going to be installing a bunch of machines, you might invest in
modifying the base package by modifying the installer's package groupings so
that qmail is installed instead of sendmail. You see, sendmail is in the "base"
group which is always installed. If you just modify this group, problem solved.
Modify the groups by editing the RedHat/base/comps file and using the genhdlist
utility to write the RedHat/base/hdlist file. The format is easy enough to
understand.
However, there are some "gotchas" to installing packages in the operating
system install phase. First, you have to be doubly sure that you've setup the
package with the proper "prereq" tags so that anything its installation needs
is installed first. Second, you do not have access to the hostname or any
networking information when the package is installed, so the %post script can't
do your automatic configuration. A way to get around this is have your %post
script setup a dummy script in /etc/rc.d setup that will get run on the first
server-boot, which can then configure qmail with the networking information.
When you get it working it's so sweet just to pop in the RedHat install disk
and choose your own customized package setup off the list of package groups.
- David Harris
Principal Engineer, DRH Internet Services