Qmail rocks Ubuntu

From Noah.org
Revision as of 11:21, 22 November 2006 by Root (talk | contribs)
Jump to navigationJump to search

Qmail Rocks Ubuntu

This script installs a Qmail Rocks style server on Ubuntu. This handles apt package dependencies automatically.

noah@noah.org

Warning

This script is poorly writen and poorly tested. It doesn't even come close to the standard and quality of qmail itself. It doesn't pretend to. This script may completely destroy your machine and all data on it. Don't blame me. Use it at your own risk.

License

This script is free and in the public domain. It doesn't need no stinking license.

Download

Download the tarball here:

   http://www.noah.org/engineering/qmail_rocks_ubuntu_1.tar.gz

Known problems

This is beta. It has been tested a few times.

It does not setup services to start automatically on boot. Some services are put in /etc/rc.local, but /etc/rc.local does not have correct execute permissions. /etc/init.d/imap and /etc/init.d/imaps are created but not linked into /etc/rc2.d/.

"make uninstall" does not remove everything. It should remove enough that you can start over from a previous installation. It assumes the location of all directories and binaries to remove.

Russell Nelson's patch to reject relay probes succeeds, but with fuzz. This is because it is applied after Ryan Schlesinger's forcetls patch. Really a new, combined patch should be made after Ryan Schlesinger's forcetls patch is applied.

This is a pretty simple-minded script. Some of the sed lines should be made smarter.

How To Install

1. Become root:

   sudo su -

2. If you are starting over from a previous install attempt then you should run:

   make uninstall

This will get rid of any previous qmail rocks installs.

3. Edit qmail_rocks_ubuntu.sh to configure these options:

   FQDN
   POSTMASTER
   NONROOT_USER
   ADMIN_USER
   CGI_BIN_PATH
   HTDOCS_PATH
   CERT_C
   CERT_ST
   CERT_L
   CERT_O
   CERT_OU
   CERT_CN
   CERT_emailAddress

4. Run ./qmail_rocks_ubuntu.sh