[Pkg-mailman-hackers] Pkg-mailman commit - rev 41 - trunk/debian

Bernd S. Brentrup bsb@haydn.debian.org
Mon, 29 Mar 2004 17:13:51 -0700


Author: bsb
Date: 2004-03-29 17:13:41 -0700 (Mon, 29 Mar 2004)
New Revision: 41

Modified:
   trunk/debian/changelog
   trunk/debian/mm_cfg.py
   trunk/debian/templates
Log:
Revamp default mm_cfg.py.
Remove bogus empty line from templates.


Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2004-03-29 23:23:34 UTC (rev 40)
+++ trunk/debian/changelog	2004-03-30 00:13:41 UTC (rev 41)
@@ -12,8 +12,10 @@
   * Remove bashism from debian/config (by GCS, closes: #240643).
   * Mention mm_cfg.MTA=None in README.EXIM (closes: #240295), also fix
     pathes to reflect Debian choices (bsb).
+  * Include add_virtualdomain call in mm_cfg.py (closes: #238509), while
+    at it regroup options and add comments (bsb).
 
- -- Siggy Brentrup <bsb@debian.org>  Tue, 30 Mar 2004 01:21:31 +0200
+ -- Siggy Brentrup <bsb@debian.org>  Tue, 30 Mar 2004 01:38:02 +0200
 
 mailman (2.1.4-2) unstable; urgency=low
 

Modified: trunk/debian/mm_cfg.py
===================================================================
--- trunk/debian/mm_cfg.py	2004-03-29 23:23:34 UTC (rev 40)
+++ trunk/debian/mm_cfg.py	2004-03-30 00:13:41 UTC (rev 41)
@@ -45,18 +45,49 @@
 
 ##############################################################
 # Put YOUR site-specific configuration below, in mm_cfg.py . #
-# See Defaults.py for explanations of the values.	     #
+# See Defaults.py for explanations of the values.            #
 
-DEFAULT_URL       = 'http://thunderchild.aszi.sztaki.hu/cgi-bin/mailman/'
+#-------------------------------------------------------------
+# The name of the list Mailman uses to send password reminders
+# and similar. Don't change if you want mailman-owner to be
+# a valid local part.
+MAILMAN_SITE_LIST = 'mailman'
+
+#-------------------------------------------------------------
+# If you change these, you have to configure your http server
+# accordingly (Alias and ScriptAlias directives in most httpds)
+DEFAULT_URL_PATTERN = 'http://%s/cgi-bin/mailman'
+PRIVATE_ARCHIVE_URL = '/cgi-bin/mailman/private'
+IMAGE_LOGOS         = '/images/mailman/'
+
+#-------------------------------------------------------------
+# Default domain for email addresses of newly created MLs
 DEFAULT_EMAIL_HOST = 'thunderchild.aszi.sztaki.hu'
-DEFAULT_URL_HOST = 'thunderchild.aszi.sztaki.hu'
-IMAGE_LOGOS       = '/images/mailman/'
-USE_ENVELOPE_SENDER = 0
+#-------------------------------------------------------------
+# Default host for web interface of newly created MLs
+DEFAULT_URL_HOST   = 'thunderchild.aszi.sztaki.hu'
+#-------------------------------------------------------------
+# Required when setting any of its arguments.
+add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
+
+#-------------------------------------------------------------
+# Iirc this was used in pre 2.1, leave it for now
+USE_ENVELOPE_SENDER    = 0              # Still used?
+
+#-------------------------------------------------------------
+# Unset send_reminders on newly created lists
 DEFAULT_SEND_REMINDERS = 0
 
-MAILMAN_SITE_LIST = 'mailman'
+#-------------------------------------------------------------
+# Uncomment this if you configured your MTA such that it
+# automatically recognizes newly created lists.
+# (see /usr/share/doc/mailman/README.{EXIM,...})
+# MTA=None   # Misnomer, suppresses alias output on newlist
 
-PRIVATE_ARCHIVE_URL = '/cgi-bin/mailman/private'
+#-------------------------------------------------------------
+# Uncomment if you use Postfix virtual domains, but be sure to
+# read /usr/share/doc/mailman/README.POSTFIX first.
+# MTA='Postfix'
 
 # Note - if you're looking for something that is imported from mm_cfg, but you
-# didn't find it above, it's probably in Defaults.py.
+# didn't find it above, it's probably in /usr/lib/mailman/Mailman/Defaults.py.

Modified: trunk/debian/templates
===================================================================
--- trunk/debian/templates	2004-03-29 23:23:34 UTC (rev 40)
+++ trunk/debian/templates	2004-03-30 00:13:41 UTC (rev 41)
@@ -1,6 +1,5 @@
 # $URL$
 # $Id$
-
 Template: mailman/site_languages
 Type: multiselect
 __Choices: big5, ca, cs, da, de, en, es, et, eu, fi, fr, gb, hr, hu, it, ja, ko, lt, nl, no, pl, pt, pt_BR, ro, ru, sl, sr, sv, uk