
Mark,
Thank you.
I've found the resources you recommended helpful, but am stymied
nonetheless. I'm bright but not expert with Postfix or Mailman, and
have been butting my head against this for days.
As a test, I'm trying to install mailman on the server gilded-
bat.laughingboot.net, and create functioning lists mailman@laughingboot.net
and galaxy@gurgitate.org. Virtual domains are humming along nicely
in both Apache and Postfix.
Mailman's processes run and I can browse the interface site, but all
my tests now bounce with:
<"|/usr/share/mailman/mail/mailman post galaxy"@gilded- bat.laughingboot.net>: data format error. Command output: |/usr/share/mailman/mail/ mailman post galaxy: Bad protocol
If you're feeling particularly saintly, I've P.S.'d install_mailman.sh
below the very rough script I'm using to install and configure
mailman.
Relevant lines from main.cf are
virtual_alias_maps = hash:/etc/postfix/virtual,hash:/var/mailman/data/ aliases,hash:/var/mailman/data/virtual-mailman virtual_mailbox_domains = hash:/etc/postfix/virtual_domains
mm_cfg.pys looks like this:
# Include Defaults:
from Defaults import *
# Site-specific overrides:
MTA = 'Postfix' DEFAULT_EMAIL_HOST = 'laughingboot.net' DEFAULT_URL_HOST = 'gilded-bat.laughingboot.net' add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) add_virtualhost('gurgitate.org', 'gurgitate.org') POSTFIX_STYLE_VIRTUAL_DOMAINS = 'gurgitate.org' DEFAULT_MAX_MESSAGE_SIZE = 10000 # KB
I'm running OS X Server 10.5.7.
I'll burn an SUV to the Gods on your behalf if you care to help me out.
Best regards, Bryan
# !/bin/tcsh # INSTALL MAILMAN TEST # Last Updated: 2009-06-15 # Assumes prior installation of Xcode.
serveradmin stop mail /usr/share/mailman/bin/mailmanctl stop
rm -Rf /var/mailman/* rm -Rf /usr/share/mailman/* mkdir -p -m ug=rwx,o=rx /var/mailman mkdir -p -m a+rx,g+ws /usr/share/mailman chown _mailman:_mailman /var/mailman chown _mailman:_mailman /usr/share/mailman chmod -R 2777 /var/mailman chmod -R 2777 /usr/share/mailman
mkdir -p /Library/TemporaryItems cd /Library/TemporaryItems
curl -O http://superb-west.dl.sourceforge.net/sourceforge/mailman/mailman-2.1.12.tgz tar -xzf mailman-2.1.12.tgz cd mailman-2.1.12
# Pick One, anyone, none of them work:
# ./configure --prefix=/usr/share/mailman --with-var-prefix=/var/
mailman --with-username=_mailman --with-groupname=_mailman --with-cgi-
gid=_www
# ./configure --prefix=/usr/share/mailman --with-var-prefix=/var/
mailman --with-username=_mailman --with-groupname=_mailman --with-mail-
gid=_mailman --with-cgi-gid=_www --without-permcheck
./configure --prefix=/usr/share/mailman --with-var-prefix=/var/mailman
--with-username=_mailman --with-groupname=_mailman --with-mail-
gid=_postfix --with-cgi-gid=_www --without-permcheck
make make install
chown _www:_mailman /var/mailman/archives/private chmod o-r-x /var/mailman/archives/private touch /var/mailman/data/aliases touch /var/mailman/data/virtual-mailman scp #copy mm_cfg.py from where I'm working on it to its proper home.
/usr/share/mailman/bin/newlist -q mailman bryan@laughingboot.net
mypassword
/usr/share/mailman/bin/config_list -i /var/mailman/data/sitelist.cfg
mailman
/usr/share/mailman/bin/newlist -q galaxy bryan@gurgitate.org mypassword
/usr/share/mailman/bin/config_list -i /var/mailman/data/sitelist.cfg
galaxy
/usr/share/mailman/bin/withlist -l -r fix_url galaxy --
urlhost=gurgitate.org
cd /usr/share/mailman/bin ./genaliases serveradmin start mail ./mailmanctl -s start ./check_perms -f
rm -R /Library/TemporaryItems/