Hello,
I'm running Debian stable using a backported version of Mailman (2.1.4) on our mail server which runs postfix (2.1.4).
Since our web server is a separate machine, my plan was to *not* add another web server to the mix. To meet half-way, I installed apache on the email server, firewalled it so only the (main) web server could access it, and setup a reverse proxy like so (apache)...
ProxyPass /mailman http://mailhost.example.com/cgi-bin/mailman
ProxyPassReverse /mailman http://mailhost.example.com/cgi-bin/mailman
ProxyPass /images/mailman http://mailhost.example.com/images/mailman
ProxyPassReverse /images/mailman http://mailhost.example.com/images/mailman
The basic foundation is working fine, but I have some questions on the following mm_cfg.py options:
--SNIP DEFAULT_URL_PATTERN = 'http://%s/mailman' PRIVATE_ARCHIVE_URL = '/mailman/private' IMAGE_LOGOS = '/images/mailman/'
#------------------------------------------------------------- # Default domain for email addresses of newly created MLs DEFAULT_EMAIL_HOST = 'aero.und.edu' #------------------------------------------------------------- # Default host for web interface of newly created MLs DEFAULT_URL_HOST = 'www.aero.und.edu' #------------------------------------------------------------- # Required when setting any of its arguments. add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) add_virtualhost( 'mailhost.aero.und.edu' ) --SNAP
The problem I'm running into is mailman is not outputting the web pages with www.aero.und.edu (which is our main web server). If I change DEFAULT_URL_PATTERN to 'http://www.aero.und.edu' it errors out with:
admin(29528): File "/var/lib/mailman/Mailman/Utils.py", line 233, in ScriptURL
admin(29528): web_page_url = mm_cfg.DEFAULT_URL_PATTERN % get_domain()
admin(29528): TypeError: not all arguments converted
...I'm assuming that is a parse error.
What's the correct way to set all links to my web server so it can get served correctly?
Thanks :D
Caylan
------------------------------------------------------ Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/