- Install libowfat:
- Install other needed packages (the name of the OpenSSL package may be different in older versions):
zypper in libopenssl-devel cmake
- Create the user accounts:
groupadd -r nofiles
useradd -r -g nofiles -d /var/qmail/alias alias
useradd -r -g nofiles -d /var/qmail qmaild
useradd -r -g nofiles -d /var/qmail qmaill
useradd -r -g nofiles -d /var/qmail qmailp
groupadd -r qmail
useradd -r -g qmail -d /var/qmail qmailq
useradd -r -g qmail -d /var/qmail qmailr
useradd -r -g qmail -d /var/qmail qmails
- Get and install netqmail:
cd /tmp
wget http://www.netqmail.org/netqmail-1.06.tar.gz
tar xzf netqmail-1.06.tar.gz
cd netqmail-1.06
make setup check
- Get and install Qsmtp:
cd /tmp
wget http://opensource.sf-tec.de/Qsmtp/Qsmtp-0.19.tar.bz2
tar xjf Qsmtp-0.21.tar.bz2
cd Qsmtp-0.21
mkdir build
cd build
cmake -D CMAKE_INSTALL_PREFIX=/var/qmail ..
make install
- Now move the old qmail-remote out of the way and use Qremote instead:
mv /var/qmail/bin/qmail-remote /var/qmail/bin/qmail-remote.orig
ln -s /var/qmail/bin/Qremote /var/qmail/bin/qmail-remote
- Congratulations, you are almost done. Now you need to decide how to control your daemons (i.e. using daemontools or traditional init scripts), install all other things you may need (vpopmail, ucspi-tcp, ...). Don't forget to setup the control files (call
/tmp/netqmail-1.06/config-fast $(hostname --fqdn)
for the basic settings). Read the usual qmail docs on what's next. My part is done here. Only make sure to call /var/qmail/bin/Qsmtpd from tcpserver instead of /var/qmail/bin/qmail-smtpd.