Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P2093
mailman - renaming a list (test)
Active
Public
Actions
Authored by
•
JohnLewis
on Sep 25 2015, 5:10 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Subscribers
None
johnflewis@fermium:~$ sudo -u list /usr/local/sbin/rename_list wmt wmt-test
Going to rename list 'wmt' to 'wmt-test'. Go ahead? (y/n)
y
First we are creating the new list 'wmt-test like any other list.
Please use your email address as list admin when asked. It will be overwritten later.'.
/var/lib/mailman/bin/newlist wmt-test
Enter the email of the person running the list:
Initial wmt-test password:
Hit enter to notify wmt-test owner...
Syncing list config and subscribers from 'wmt' to 'wmt-test'.
/usr/bin/rsync -avp /var/lib/mailman/lists/wmt/ /var/lib/mailman/lists/wmt-test/
sending incremental file list
./
config.pck
config.pck.last
digest.mbox
pending.pck
request.pck
sent 10,781 bytes received 114 bytes 21,790.00 bytes/sec
total size is 10,365 speedup is 0.95
Changing the list 'real_name' to 'wmt-test' after we copied config over.
echo "real_name = 'wmt-test'" | /var/lib/mailman/bin/config_list -i /dev/stdin wmt-test
Copying mbox file from 'wmt' to 'wmt-test'.
cp /var/lib/mailman/archives/private/wmt.mbox/wmt.mbox /var/lib/mailman/archives/private/wmt-test.mbox/wmt-test.mbox
Recreating HTML archives from mbox file for 'wmt-test'.
/var/lib/mailman/bin/arch wmt-test
#00000 <CAFJjkB6nBLODvwc24X3R_DunE8D-e44Q=UTqisYngbuQswg4FQ@mail.gmail.com>
figuring article archives
2015-September
Updating index files for archive [2015-September]
Date
Subject
Author
Thread
Computing threaded index
Updating HTML for article 0
Pickling archive state into /var/lib/mailman/archives/private/wmt-test/pipermail.pck
Making sure mbox file is owned by list:list.
chown list:list /var/lib/mailman/archives/private/wmt-test.mbox/wmt-test.mbox
Adding 'wmt@lists.wikimedia.org' to acceptable aliases on 'wmt-test'.
echo "acceptable_aliases = 'wmt@lists.wikimedia.org'" | /var/lib/mailman/bin/config_list -i /dev/stdin wmt-test
Please add the following code to './files/exim/listserver_aliases':
--------
wmt: wmt-test
--------
Please add the following code to './modules/mailman/templates/lists.wikimedia.org.org':
--------
Redirect permanent /mailman/listinfo/wmt https://<%= @lists_servername %>/mailm
an/listinfo/wmt-test
--------
To finish this please upload the code changes above to Gerrit and merge.
Test by sending a mail to both wmt@lists.wikimedia.org and wmt-test@lists.wikimedia.org.
Check the listinfo pages at https://lists.wikimedia.org/mailman/listinfo/wmt and https://lists.wikimedia.org/mailman/listinfo/wmt-test
Don't forget to update the ticket and that should be all. Bye.
johnflewis@fermium:~$ sudo -u list /var/lib/mailman/bin/rmlist -a wmt-test
Removing list info
Removing private archives
Removing private archives
Removing public archives
wmt-test public archives not found as /var/lib/mailman/archives/public/wmt-test.mbox
johnflewis@fermium:~$ sudo -u list /var/lib/mailman/bin/rmlist -a wmt
Removing list info
Removing private archives
Removing private archives
Removing public archives
wmt public archives not found as /var/lib/mailman/archives/public/wmt.mbox
Event Timeline
•
JohnLewis
edited the content of this paste.
(Show Details)
Sep 25 2015, 5:10 PM
•
JohnLewis
changed the title of this paste from untitled to
mailman - renaming a list (test)
.
•
JohnLewis
updated the paste's language from
autodetect
to
autodetect
.
Daniel_Mietchen
mentioned this in
T139862: Expand EasyQuery to work with more properties/ data types
.
Sep 5 2016, 2:38 AM
QZanden
mentioned this in
T166918: moving qualifiers
.
Jun 2 2017, 11:04 PM
Lea_Lacroix_WMDE
mentioned this in
T179815: Enable searching by author name string
.
Nov 6 2017, 11:17 AM
agray
mentioned this in
T173432: Sort claims of a property in meaningful way
.
Jan 23 2018, 12:40 PM
Ivan_A_Krestinin
mentioned this in
T189747: Toolforge node for constraint reports updating bot
.
Mar 17 2018, 7:54 AM
Multichill
mentioned this in
T230569: General SDC data modelling session
.
Sep 29 2019, 4:39 PM
Log In to Comment