Re: [Mailman-Users] Different web interface and email address domains with POSTFIX_STYLE_VIRTUAL_DOMAINS
I put this into the apache conf file(/etc/httpd/conf/httpd.conf or you can create /etc/httpd/conf.d/mailman.conf and restart apache) # # httpd configuration settings for use with mailman. # ScriptAlias /mailman/ /home/mailman/domain/cgi-bin/ AllowOverride None Options ExecCGI AuthType Basic Order allow,deny Allow from all Alias /pipermail/ /home/mailman/domain/archives/public/ Options Indexes MultiViews FollowSymLinks AllowOverride None AuthType Basic Order allow,deny Allow from all # Uncomment the following line, replacing www.example.com with your server's # name, to redirect queries to /mailman to the listinfo page (recommended). RedirectMatch ^/mailman[/]*$ http://sub.domain.com/mailman/listinfo # Also, in mm_cfg.py I used this for virtual domains... DEFAULT_EMAIL_HOST = 'domain.com' DEFAULT_URL_HOST = 'sub.domain.com' add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) Note: I am not able to subscribe via the web page at the moment, so this might not be perfect. I am still waiting for an email about my subscription problem. But everything else seems to work with virtual domains. Chris... > I'm trying to set up a list "[EMAIL PROTECTED]", but I want the web > interface to appear at http://sub.domain.com/mailman/ I have set > POSTFIX_STYLE_VIRTUAL_DOMAINS = ["domain.com"] in my mm_cfg.py, but I > can't spot a way to set the web interface location. > > With the current setup http://sub.domain.com/mailman/... does show the > interface, but all the links in it point to http://domain.com/mailman/ > > Any ideas would be appreciated. > > As a side note, the mailman guide doesn't seem to say that the > virtual-mailman file isn't created until you have a list set up, which > was somewhat confusing. > > Cheers, > Andrew Oakley > -- > Mailman-Users mailing list > Mailman-Users@python.org > 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/ > Unsubscribe: > http://mail.python.org/mailman/options/mailman-users/cpenn%40srcc.lsu.edu > > Security Policy: > http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp > -- Sourthern Regional Climate Center Louisiana State University Howe-Russell Geoscience Complex Office E330 Office:225.590.5847 Cell:949.300.3094 " A Mathematician is a machine for turning coffee into theorems." -Erdös, Paul Nov. 1992 -- Mailman-Users mailing list Mailman-Users@python.org 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/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp
Re: [Mailman-Users] Different web interface and email address domains with POSTFIX_STYLE_VIRTUAL_DOMAINS
Andrew Oakley wrote: > Never mind, I've fixed it. It seems you need to run: > newlist --urlhost=sub.domain.com --emailhost=domain.com list-name > when you create the list and it works. What you really want is DEFAULT_URL_HOST = 'sub.domain.com' DEFAULT_EMAIL_HOST = 'domain.com' VIRTUAL_HOSTS.clear() add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) in mm_cfg.py. This will remove whatever was added by the add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) in Defaults.py and set the correct defaults for list creation. -- Mark Sapiro <[EMAIL PROTECTED]>The highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org 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/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp
Re: [Mailman-Users] Different web interface and email address domains with POSTFIX_STYLE_VIRTUAL_DOMAINS
Never mind, I've fixed it. It seems you need to run: newlist --urlhost=sub.domain.com --emailhost=domain.com list-name when you create the list and it works. Seems this option isn't available in the web interface though. Andrew Oakley wrote: > I'm trying to set up a list "[EMAIL PROTECTED]", but I want the web > interface to appear at http://sub.domain.com/mailman/ I have set > POSTFIX_STYLE_VIRTUAL_DOMAINS = ["domain.com"] in my mm_cfg.py, but I > can't spot a way to set the web interface location. > > With the current setup http://sub.domain.com/mailman/... does show the > interface, but all the links in it point to http://domain.com/mailman/ > > Any ideas would be appreciated. > > As a side note, the mailman guide doesn't seem to say that the > virtual-mailman file isn't created until you have a list set up, which > was somewhat confusing. > > Cheers, > Andrew Oakley > -- > Mailman-Users mailing list > Mailman-Users@python.org > 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/ > Unsubscribe: > http://mail.python.org/mailman/options/mailman-users/andrew%40ado.is-a-geek.net > > Security Policy: > http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp -- Mailman-Users mailing list Mailman-Users@python.org 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/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp