qmail on OSX
this has worked for me with 10.0.4 and 10.1.2
your mileage may vary
this is not a complete "howto install qmail". you will need to refer to the documentation
that comes with qmail.
1. get the source code
you can find it :
here.
checkout DJB's qmail page for more information.
2. unpack the source
If you are using an HFS filesystem, you will probably want to move the INSTALL file to INSTALL.txt. The reason is that HFS is case insensitive, during the build process a file named "install" is created (overwriting the INSTALL file).
3. create the users
you will need to create the users and groups for qmail.
this can be done via the GUI app "netinfo".
this approach is a pain, and I leave that up to you.
I would suggest using the perl script I wrote to do this:
create_qmail_users.pl
this will also create the groups as well
4. patch the Makefile and edit conf-ld
Based on much searching on mailing lists and news groups, I came up with this
patch
cd into the qmail source dir and do:
patch < /path/to/osx-qmail.patch
change the "cc -s" line in conf-ld to:
cc -Xlinker -x
your on your own
you should now have no problems running the usual "make setup check"...
make qmail start at boot
create directory /System/Library/StartupItems/qmail
with two files:
StartupParameters.plist
qmail
Next time you boot you should see "Starting qmail server"
files
qmail-1.03 - qmail source code
create_qmail_users.pl - perl script to create the users and groups for qmail
osx-qmail.patch - patch for the Makefile