Edit the file: /usr/lib/mailman/Mailman/mm_cfg.py. Basically, adding the hostname of the computer running it.

DEFAULT_URL_HOST  = 'hostname.uchicago.edu'
DEFAULT_EMAIL_HOST = 'hostname.uchicago.edu'

Since I had screwed it up previously, all my links and things were saying localhost.localdomain, instead of the above hostname. The solution was to use rpm to delete mailman, delete all the rpmsave files and reinstall. Then I just edited the above file and /etc/httpd/conf.d/mailman.conf. That took care of it. Next, I set the site password with mmsitepass and started the mailman service. Lastly, copied the files from /var/lib/mailman to /web/hep/mailman, made the link “ln -s /web/hep/mailman /var/lib/mailman” and changed the permissions on /web/hep/mailman to:

drwxrwsr-x root mailman mailman/

To add a new list, run /usr/lib/mailman/bin/newlist and follow the prompts. The last step is to add the following lines to /etc/mail/aliases and run newaliases. Note that test needs to be changed to the new list name.

test:              "|/usr/lib/mailman/mail/mailman post test"
test-admin:        "|/usr/lib/mailman/mail/mailman admin test"
test-bounces:      "|/usr/lib/mailman/mail/mailman bounces test"
test-confirm:      "|/usr/lib/mailman/mail/mailman confirm test"
test-join:         "|/usr/lib/mailman/mail/mailman join test"
test-leave:        "|/usr/lib/mailman/mail/mailman leave test"
test-owner:        "|/usr/lib/mailman/mail/mailman owner test"
test-request:      "|/usr/lib/mailman/mail/mailman request test"
test-subscribe:    "|/usr/lib/mailman/mail/mailman subscribe test"
test-unsubscribe:  "|/usr/lib/mailman/mail/mailman unsubscribe test"