[Mailman-Users] Another question.. hopefully more interesting :)

Glenn Sieb ges+lists at wingfoot.org
Sat Jul 26 02:45:33 CEST 2003


Hi everyone...

I currently run Mailman (2.1) (which I love.. great job, guys!), and use
it to run a few private lists behind SSL. I have recently been asked to do
some virtual domain hosting for some friends, and would like to provide
them with their own Mailman lists, should they wish.

In mm_cfg.py I have:
DEFAULT_EMAIL_HOST = 'lists.wingfoot.org'
DEFAULT_URL_HOST = 'www.wingfoot.org'
DEFAULT_URL_PATTERN = 'https://%s/mailman/'
DEFAULT_URL         = 'https://www.wingfoot.org/mailman/'
PUBLIC_ARCHIVE_URL = 'https://%(hostname)s/pipermail/%(listname)s'
PRIVATE_ARCHIVE_URL = 'https://%(hostname)s/pipermail/%(listname)s'

VIRTUAL_HOSTS = {'www.wingfoot.org':'lists.wingfoot.org',
                'www.domain2.org':'lists.domain2.org',
                'www.domain3.com':'lists.domain3.com',
                'www.domain4.org':'lists.domain4.org'}
add_virtualhost(DEFAULT_URL_HOST,DEFAULT_EMAIL_HOST)
add_virtualhost('www.domain2.org','lists.domain2.org')
add_virtualhost('www.domain3.com','lists.domain3.com')
add_virtualhost('www.domain4.org','lists.domain4.org')

Now.. when I create a list under Wingfoot, it has all the
https://www.wingfoot.org/mailman/listinfo stuff all correct. Since, that's
how I access my listserver, this is the expected behavior... :)

When I create one, say, from domain2, it *also* gets
https://www.domain2.org/mailman/listinfo stuff... even though the URL to
access that list is in http://www.domain2.org/mailman/listinfo :-/

I have tried commenting out the DEFAULT_URL_PATTERN to no avail. If I
change it to http://%s/etc that works.. but then lists on Wingfoot break.

Is what I'm trying to do possible with one instance of Mailman? Should I
install a 2nd instance? Can I even do that?

Hopefully this is chewy-good-for-thought stuff and not a "You idjit! Read
the archives!" (I checked, but didn't see anything that screamed
"Conclusive".)

Thanks guys.. and again, I appreciate all the help you've been over the
past  not-quite-year, and all your hard work and effort into the Mailman
project. :)

Thanks,
Glenn
---
The original portions of this message are the copyright of the author
(c)1998-2002 Glenn E. Sieb.    ICQ UIN: 300395    IRC Nick: Rainbear
"All acts of Love and Pleasure are Her rituals"-Charge of the Goddess





More information about the Mailman-Users mailing list