6 Sep 2009
Richard
Richard
Here is a list of the information you need to install all the documented packages on Snow Leopard. Packages include Apache, PHP, MySQL, Postfix, Dovecot, etc…
How to install
- Introduction
- Preparation
- What you need
- Preparing your Mac to run as a server
- Installing MySQL
- Compiling MySQL 5.1.x in 32 bits mode on Snow Leopard
- Compiling MySQL 5.1.x in 64 bits mode on Snow Leopard
- Securing your MySQL install
- Starting MySQL on Snow Leopard
- Compiling Apache in 32 bits mode on Snow Leopard
- Compiling Apache in 64 bits mode on Snow Leopard
- Configuring Apache on Snow Leopard
- Configuring virtual hosts in Apache
- Configuring HTTPS with virtual hosts
- Starting Apache at boot on Snow Leopard
- Compiling PHP in 32 bits mode on Snow Leopard
- Compiling PHP in 64 bits mode on Snow Leopard
- Adding the GD module to PHP on Snow Leopard
- Adding the mcrypt module to PHP on Snow Leopard
The mailserver
- The mailserver setup with Postfix and Dovecot on Snow Leopard
- Building Postfix in 32 bits on Snow Leopard
- Building Postfix in 64 bits on Snow Leopard
- Building Dovecot 1.x in 32 bits on Snow Leopard
- Building Dovecot 1.x in 64 bits on Snow Leopard
- Building Dovecot 2.x in 32 bits on Snow Leopard
- Building Dovecot 2.x in 64 bits on Snow Leopard
- Installing PostfixAdmin 2.2.x
- Creating the mailbox directories on Snow Leopard
- Configuring Postfix for virtual domains and Dovecot authentication
- Configuring Dovecot 1.x on Snow Leopard
- Configuring Dovecot 2.x on Snow Leopard
- Starting Postfix and Dovecot automatically on Snow Leopard
- Checking that the mailserver works
- Installing Roundcube for webmail
Preventing spam
- Preventing spam on your Snow Leopard mail server
- using greylisting
- using Clamav and SpamAssassin as spam filter
- Installing Clamav and SpamAssassin
- Installing Clamav from source
- Installing SpamAssassin
- Start Clamav as a daemon on boot
- Configuring Amavisd-new and its dependancies
- Starting Amavisd-new on boot
- Configure postfix to use amavisd-new
- using DSpam as mail filter



Comments
8:05 am
Now that the April 2011 rewrite/updates are in, the “Installing everything on Snow Leopard” article points straight to 32/64 compiling Apache, so there’s nothing that tells one to actually get the Apache source! (Formerly, there was an article entitled “Installing Apache”, with a link to …/installing-apache.) When you read the compiling pages, well, yes, Apache 2.2.17 binary now comes standard, but you can’t “make” anything, and of course there’s no srclib, no config.layout files, etc, etc. There needs to be a preliminary article on Apache, just like there is on MySQL 5.5.x.
6:25 pm
Thanks for the constructive comment, I will add that page again. When you are doing this for so long you become blind for the obvious stuff.