Please note that the information is no longer up to date. The content of this site has moved to a new domain DIYMacServer.com which is kept up to date. Apologies for the inconvienince.
This is meant to an as complete as possible installation and configuration guide for changing your Mac mini (or any other Mac) into a full blown internet connected server to be used for all your needs at home for yourself, friends and family. You won’t need to buy OS X server license for this, everything is done using free open source software that have been tried and tested by a large community…
All links are referring to the new site which is kept up to date.
- Introduction
- Preparation
- Installing MySQL
- Compiling MySQL on Tiger
- Compiling MySQL in 32 bits mode on Leopard
- Compiling MySQL in 64 bits mode on Leopard
- Securing your MySQL install
- Starting MySQL on Leopard
- Installing Apache
- Compiling Apache in 32 bits mode on Leopard
- Compiling Apache in 64 bits mode on Leopard
- Configuring Apache on Leopard
- Compiling Apache on Tiger
- Configuring Apache on Tiger
- Configuring virtual hosts in Apache
- Configuring HTTPS with virtual hosts
- Starting Apache at boot on Leopard
- Starting Apache at boot on Tiger
- Installing PHP
- Compiling PHP on Tiger
- Compiling PHP in 32 bits mode on Leopard
- Compiling PHP in 64 bits mode on Leopard
- Adding the mcrypt module to PHP on Leopard
- Adding the GD module to PHP on Leopard
- Installing the Mailserver
- The basic mailserver on Tiger
- Building SASL
- Building the Postfix mailserver
- Building the Courier Auth library
- Building the Courier IMAP/POP3 Server
- Setting up the database for mailserver administration
- Create the mailbox directories
- Configuring SASL for SMTP authentication
- Configuring Postfix for virtual domains using MySQL
- Configuring Courier-auth to use MySQL
- Configuring Courier IMAP with your maildir
- Starting your basic mailserver
- The basic mailserver on Leopard
- in 32 bits mode:
- in 64 bits mode:
- Setting up the database for mailserver administration
- Create the mailbox directories
- Configuring SASL for SMTP authentication
- Configuring Postfix for virtual domains using MySQL
- Configuring Courier-auth to use MySQL
- Configuring Courier IMAP with your maildir
- Starting your basic mailserver
- Installing Postfix admin
- Securing your basic mailserver using TLS/SSL
- Installing Roundcube for webmail
- Adding a spam filter on Tiger
- Compiling DSPAM on OS X Tiger
- Creating the database for DSPAM
- Configuring DSPAM
- Configure Postfix to use DSPAM as content filter
- Starting DSPAM
- Training DSPAM with scripts
- Adding a spam filter on Leopard
- Compiling DSPAM on OS X Leopard
- Creating the database for DSPAM on Leopard
- Configuring DSPAM on Leopard
- Configure Postfix to use DSPAM as content filter on Leopard
- Starting DSPAM on Leopard
- Training DSPAM with scripts
- Purging the Dspam database automatically
- Adding a delivery filter – maildrop
- Creating maildirectories automatically
- Greylisting
- Adding a backup (relay) MX server
How to upgrade
Here is a list of short documents to help you upgrade any of the components used in the DIYMacServer