[Mailman-Users] Different web interface and email address domains with POSTFIX_STYLE_VIRTUAL_DOMAINS
Chris Penn
cpenn at srcc.lsu.edu
Mon Jan 21 12:56:07 CET 2008
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/
<Directory /home/mailman/domain/cgi-bin/>
AllowOverride None
Options ExecCGI
AuthType Basic
Order allow,deny
Allow from all
</Directory>
Alias /pipermail/ /home/mailman/domain/archives/public/
<Directory /home/mailman/domain/archives/public>
Options Indexes MultiViews FollowSymLinks
AllowOverride None
AuthType Basic
Order allow,deny
Allow from all
</Directory>
# 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 "list at domain.com", 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 at 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
More information about the Mailman-Users
mailing list