On 1/11/2017 6:56 AM, Julian Kippels wrote:
Hi,

is it possible to create a new list with more than one owner? Or do I
have to create the list with one owner and add the others later?

I'm thinking about doing something like:
newlist testlist owner1@domain owner2@domain supersecretpassphrase

Thanks
Julian


Here is a patch that I got from Mark Sapiro many years ago;
I assume that it is in the list archives.  Note that I cannot
ensure that this cut-and-paste will survive line wrap.
This is a piece of the "script" output when I last built a
Mailman package for Debian/Ubuntu.  Also note that any
owner addresses after the first are not checked for syntax.

-----
vm20# cat ~b19141/newlist.owners.patch.13
--- newlist     2009-09-14 11:47:56.046875000 -0700
+++ newlistx    2009-10-02 12:51:16.671875000 -0700
@@ -47,6 +47,8 @@
 You can specify as many of the arguments as you want on the command line
 you will be prompted for the missing ones.

+Note that listadmin-addr can be a comma separated list of addresses.
+
 Every Mailman list has two parameters which define the default host name
 outgoing email, and the default URL for all web interfaces.  When you
 configured Mailman, certain defaults were calculated, but if you are run
@@ -173,7 +175,9 @@
         owner_mail = args[1]
     else:
         owner_mail = raw_input(
-            _('Enter the email of the person running the list: '))
+            _('Enter the email(s) of the person running the list: '))
+    owner_emails = owner_mail.split(',')
+    owner_mail = owner_emails[0]

     if len(args) > 2:
         listpasswd = args[2]
@@ -208,6 +212,9 @@
         except Errors.MMListAlreadyExistsError:
             usage(1, _('List already exists: %(listname)s'))

+        # assign the owners
+        mlist.owner = owner_emails
+
         # Assign domain-specific attributes
         mlist.host_name = host_name
         mlist.web_page_url = web_page_url
@@ -246,7 +253,7 @@
         i18n.set_language(mlist.preferred_language)
         try:
             msg = Message.UserNotification(
-                owner_mail, siteowner,
+                owner_emails, siteowner,
                 _('Your new mailing list: %(listname)s'),
                 text, mlist.preferred_language)
             msg.send(mlist)
vm20# patch -p0 < ~b19141/newlist.owners.patch.13
patching file newlist
vm20# diff newlist newlist.original
50,51d49
< Note that listadmin-addr can be a comma separated list of addresses.
<
178,180c176
<             _('Enter the email(s) of the person running the list: '))
<     owner_emails = owner_mail.split(',')
<     owner_mail = owner_emails[0]
---
>             _('Enter the email of the person running the list: '))
215,217d210
<         # assign the owners
<         mlist.owner = owner_emails
<
256c249
<                 owner_emails, siteowner,
---
>                 owner_mail, siteowner,
vm20# pwd

-----

--Barry Finkel
------------------------------------------------------
Mailman-Users mailing list [email protected]
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to