Debian Bug report logs - #417295
fix_url ignores DEFAULT_URL_PATTERN in mm_cfg.py. need to edit Defaults.py instead.

version graph

Package: mailman; Maintainer for mailman is Mailman for Debian <[email protected]>; Source for mailman is src:mailman (PTS, buildd, popcon).

Reported by: Craig Sanders <[email protected]>

Date: Mon, 2 Apr 2007 09:39:05 UTC

Severity: normal

Found in version mailman/1:2.1.9-7

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Mailman for Debian <[email protected]>:
Bug#417295; Package mailman. (full text, mbox, link).


Acknowledgement sent to Craig Sanders <[email protected]>:
New Bug report received and forwarded. Copy sent to Mailman for Debian <[email protected]>. (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Craig Sanders <[email protected]>
To: [email protected]
Subject: fix_url ignores DEFAULT_URL_PATTERN in mm_cfg.py. need to edit Defaults.py instead.
Date: Mon, 2 Apr 2007 19:36:58 +1000
Package: mailman
Version: 1:2.1.9-7

according to the mailman FAQ[1], the way to convert a list to use https (ssl)
URLs rather than plain http URLs, is to edit mm_cfg.py, change
DEFAULT_URL_PATTERN, and run 'withlist -l -a -r fix_url'.

i tried that numerous times last night, with no effect. it simply does
not work.

i ended up discovering that to do this, you actually have to edit
/usr/lib/mailman/Mailman/Defaults.py and change DEFAULT_URL_PATTERN to
something like this:

DEFAULT_URL_PATTERN = 'https://%s/cgi-bin/mailman/'

and then run 'withlist -l -a -r fix_url'.


this needs to be either fixed, or at least documented in README.Debian.

preferably fixed, otherwise i'll have to manually edit Default.py after every
upgrade.



[1] http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.027.htp

craig

-- 
craig sanders <[email protected]>



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Thu May 15 19:09:56 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.