Show
Ignore:
Timestamp:
05/08/08 22:09:40 (7 months ago)
Author:
anarcat
Message:

add a configuration variable to control the domain in the list urls. if
it is set, it will be used to construct the urls in the mailing list
listings. If it is unset, the list's domain name will be used.

the default behaviour is therefore reverted to the one before commit
[2097] where the list domain is used (without the prepended "mail.").

the NEWS file has more information on how to configure your installation
with the new setting.

Closes: #1131

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • alternc-mailman/trunk/debian/NEWS

    r2223 r2245  
     1alternc-mailman (1.7) stable; urgency=low 
     2 
     3    add a configuration variable to control the domain in the list urls. if it 
     4    is set, it will be used to construct the urls in the mailing list 
     5    listings. If it is unset, the list's domain name will be used. 
     6 
     7    the default behaviour is therefore reverted to the one before 1.5 (svn 
     8    [2097]) where the list domain is used (without the prepended "mail."). 
     9 
     10    in case the variable is set, the administrator still needs to convert the 
     11    urls of existing lists and fix the default url in mm_cfg.py for new lists. 
     12    this can be done with a script like this in /var/lib/mailman/change_url: 
     13 
     14    def change_url(mlist): 
     15        mlist.web_page_url='https://listes.koumbit.net/cgi-bin/mailman/' 
     16        mlist.Save() 
     17        mlist.Unlock() 
     18 
     19    ... called like this: 
     20 
     21     /usr/lib/mailman/bin/withlist -l -r change_url -a 
     22      
     23     See https://alternc.org/ticket/1131 for more information. 
     24 
     25 -- Antoine Beaupré <antoine@koumbit.org>  Thu, 08 May 2008 16:02:34 -0400 
     26 
    127alternc-mailman (1.6) stable; urgency=low 
    228 
  • alternc-mailman/trunk/debian/changelog

    r2222 r2245  
     1alternc-mailman (1.7) stable; urgency=low 
     2 
     3  [ Patrick Hétu ] 
     4  * fix list URLs by adding a new variable (#1131) 
     5 
     6 -- Antoine Beaupré <antoine@koumbit.org>  Thu, 08 May 2008 16:05:56 -0400 
     7 
    18alternc-mailman (1.6) stable; urgency=low 
    29 
  • alternc-mailman/trunk/debian/postrm

    r2189 r2245  
    2020        . "$CONFIGFILE" 
    2121        mysql -f --defaults-file=/etc/alternc/my.cnf -e "DROP TABLE IF EXISTS mailman" 
     22        mysql -f --defaults-file=/etc/alternc/my.cnf -e "DELETE FROM variable WHERE name = 'mailman_url'" 
    2223    fi 
    2324    ;;