Hi,
I got the mailman webinterface up and running like this:
I created a new vhost in
/etc/apache2/sites-available/mailman.conf:
Code:
#
# mailman Virtual Host Webinterface
#
<VirtualHost xxx.xxx.xxx.xxx:80>
ServerAdmin admin@yourdomain.com
DocumentRoot /var/www/mailman
ServerName lists.yourdomain.com
ErrorLog /var/log/apache2/lists.yourdomain.com-error.log
CustomLog /var/log/apache2/lists.yourdomain.com-access.log combined
Alias /pipermail /var/lib/mailman/archives/public/
Alias /images/mailman /usr/share/images/mailman/
<Directory /var/lib/mailman/archives/>
Options Indexes FollowSymLinks
AllowOverride None
</Directory>
ScriptAlias /admin /usr/lib/cgi-bin/mailman/admin
ScriptAlias /admindb /usr/lib/cgi-bin/mailman/admindb
ScriptAlias /confirm /usr/lib/cgi-bin/mailman/confirm
# The create.html-file is a dummy-file so that no one can create new mailing lists via the webinterface
# ScriptAlias /create /usr/lib/cgi-bin/mailman/create
Alias /create /var/www/mailman/create.html
ScriptAlias /edithtml /usr/lib/cgi-bin/mailman/edithtml
ScriptAlias /listinfo /usr/lib/cgi-bin/mailman/listinfo
ScriptAlias /options /usr/lib/cgi-bin/mailman/options
ScriptAlias /private /usr/lib/cgi-bin/mailman/private
ScriptAlias /rmlist /usr/lib/cgi-bin/mailman/rmlist
ScriptAlias /roster /usr/lib/cgi-bin/mailman/roster
ScriptAlias /subscribe /usr/lib/cgi-bin/mailman/subscribe
ScriptAlias /mailman/ /usr/lib/cgi-bin/mailman/
</VirtualHost>
and enabled it:
Code:
a2ensite mailman.conf
/etc/init.d/apache2 reload
In
/etc/mailman/mm_cfg.py you have to set the following values like this:
Code:
DEFAULT_URL_PATTERN = 'http://%s/'
DEFAULT_EMAIL_HOST = 'lists.yourdomain.com'
DEFAULT_URL_HOST = 'lists.yourdomain.com'
The last step is, to set the
web_page_url-variable
for each mailing list! This variable isn't exported via
config_list, I don't know where I found it, but you can set it like this:
Code:
echo "web_page_url = 'http://lists.yourdomain.com/'" > /root/web_page_url.cfg
# Execute this for every mailinglist on your server
config_list -i web_page_url.cfg LISTNAME
Now you should be able to manage your lists via
http://lists.yourdomain.com/listinfo/LISTNAME
Again the question: Is this worth being written into a HowTo ?
Greetings
FeG