[Pkg-mailman-hackers] Bug#365881: mailman: newlist creates
incorrect link to admin/info pages
Kevin Coyner
kevin at rustybear.com
Wed May 3 14:13:44 UTC 2006
Package: mailman
Version: 2.1.5-8sarge2
Severity: normal
Tags: patch
When invoking 'newlist', an email is generated that is sent to the list owner.
An incorrect link to the admin webpage is included in that email. Example:
http://lists.mydomain.com/cgi-bin/mailmanadmin/myNewList
It should read:
http://lists.mydomain.com/cgi-bin/mailman/admin/myNewList
Note the addition of the slash between mailman and admin.
This link (and a couple others) are generated from the variable
DEFAULT_URL_PATTERN in /etc/mm_cfg.py.
During mailman installation the postinst script copies
/usr/lib/mailman/Mailman/mm_cfg.py.dist to /etc/mailman/mm_cfg.py.
/usr/lib/mailman/Mailman/mm_cfg.py.dist needs to be changed as follows:
59c59
< DEFAULT_URL_PATTERN = 'http://%s/cgi-bin/mailman'
---
> DEFAULT_URL_PATTERN = 'http://%s/cgi-bin/mailman/'
Simply add the slash to the end of the line.
Kevin
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages mailman depends on:
ii apache [httpd] 1.3.33-6sarge1 versatile, high-performance HTTP s
ii cron 3.0pl1-86 management of regular background p
ii debconf 1.4.30.13 Debian configuration management sy
ii libc6 2.3.2.ds1-22sarge3 GNU C Library: Shared libraries an
ii logrotate 3.7-5 Log rotation utility
ii postfix [mail-transpo 2.1.5-9 A high-performance mail transport
ii pwgen 2.03-1 Automatic Password generation
ii python 2.3.5-2 An interactive high-level object-o
ii ucf 1.17 Update Configuration File: preserv
-- debconf information:
* mailman/queue_files_present:
mailman/default_server_language: en
mailman/gate_news: false
* mailman/site_languages: en
* mailman/used_languages: en
* mailman/create_site_list:
-------------- next part --------------
59c59
< DEFAULT_URL_PATTERN = 'http://%s/cgi-bin/mailman'
---
> DEFAULT_URL_PATTERN = 'http://%s/cgi-bin/mailman/'
More information about the Pkg-mailman-hackers
mailing list