# Mailman must be on the same drive as Sendmail and Python
# Prerequisites Python 2.2.3 and Cron/2
# Prerequisites emx and ux2 a/a1/d packages or the ux2bs /usr/bin/env and bin/sh must exist
# Unpack mailman-os2-patched src in /temp
# Run: mkdir /usr/local/mailman
# Add: SET MAILHOST=domain.com SET WWWHOST=www.domain.com to the env
# Run: ./configure --prefix=/usr/local/mailman --with-mail-gid=root --with-cgi-gid=nobody --with-python=/Apps/python223/python.exe --with-username=root --with-groupname=root
# Run: make
# Run: make DIRSETGID=: install
# Run emxbind in /temp/mailman-2.0.13/src on:
admin
admindb
edithtml
handle_opts
listinfo
options
private
roster
subscribe
wrapper
# Remove the .exe extension on all
# Copy to /usr/local/mailman/cgi-bin:
admin
admindb
edithtml
handle_opts
listinfo
options
private
roster
subscribe
# Copy wrapper to /usr/local/mailman/mail
# Copy wrapper /usr/local/mailman/mail/wrapper to zapper.exe
# Copy zapper.exe to a directory in your path
# Unpack mailman-ux2.zip into /usr/local/mailman
# Run mailfold.cmd
# Copy emx_emul.py/pyc to \Apps\Python223\Lib\platform-os2emx\
# Copy all the *.jpg and *.png from misc/ to /apache2/icons/mailman
# Edit httpd.conf:
ScriptAlias /mailman/ /usr/local/mailman/cgi-bin/
AllowOverride None
Options None
Order allow,deny
Allow from all
Alias /pipermail/ /usr/local/mailman/archives/public/
Order allow,deny
Allow from all
# Add to the mail aliases file:
mailman: admin@domain.com
mailman-owner: mailman
# Update /usr/local/lib/mailman/Mailman/mm_cfg.py
# Site-specific settings
DEFAULT_HOST_NAME = 'yourdomain.com'
# DEFAULT_URL must end in a slash!
DEFAULT_URL = 'http://yourdomain.com/mailman/'
PYTHON = '/Apps/python223/python.exe'
# Run 'python mm_cfg.py build' and 'python mm_cfg.py install'
# Add to your cron.dat file:
* * * * * OS2 BG WIND- d:\usr\local\mailman\cron\qrunner.cmd
0 17 * * * OS2 BG WIND- d:\usr\local\mailman\cron\checkdbs.cmd
0 5 1 * * OS2 BG WIND- d:\usr\local\mailman\cron\mailpasswds.cmd
# A reboot is recommended at this stage
# Create a site password
# Test by creating a list called announce
# Install the aliases into the mail aliases file.
# Example:
announce: "|zapper.exe post announce"
announce-admin: "|zapper.exe mailowner announce"
announce-request: "|zapper.exe mailcmd announce"
announce-owner: announce-admin
# Read your email...