Additional MX with qmail
From Docupedia
Get all the binaries from the master qmail server
copy everything into /opt on the new server. Make sure you get all of qmail, maildrop, daemontools, ucspi-tcp then go through the /opt/qmail directory and make all the necessary changes for the backup server. This will require you to update its ldap connection and also tweak a couple other settings. smtpcerts
make sure you rsync like a pro
sudo rsync -avz --delete -e ssh /opt/ foobar.alkaloid.net:/opt
Generate a cert and key and bundle them together with cat. Place it into your ssl folder
Then tweak dovecots ldap file /opt/dovecot/dovecot-ldap.conf and update ldap settings.
Install the daemontools rpm and create the folder /etc/supervise.d also install the ucspi-tcp rpm that is in bens home directory with the daemontools rpm
Add the following to the /etc/inittab
# end of /etc/inittab SV:123456:respawn:/usr/bin/svscanboot
Then give a sudo init q to reset the inittab
If you install the alkaloid rpm install the updated script into /usr/bin/svscanboot
