Scratch that. Ran with the corrected script and getting the following: [root@mailman3(stg) archives]# mailman lists No matching mailing lists found
Any thoughts?
On Tue, Jul 31, 2018 at 9:35 AM Ryan McClung <rmcclung@afilias.info> wrote:
Hey there,
Im going to breakdown my response into sections:
Yes, there is only one install of mailman on the box.
I created the list using the script below
My method of importing it is by copying the lists to /opt/mailman/old/lists and running these commands (within lists)
MYDIR="/opt/mailman/old/lists" DIRS=
ls -l $MYDIR | egrep '^d' | awk '{print $9}'
for DIR in $DIRS; do mailman import21 "${DIR}"@afilias.info "${DIR}"/config.pck; doneHowever, if you look at the above you can see where I am going wrong. What it should actually be doing is:
MYDIR="/opt/mailman/old/lists" DIRS=
ls -l $MYDIR | egrep '^d' | awk '{print $9}'
for DIR in $DIRS; do mailman create "${DIR}"; mailman import21 "${DIR}"@ afilias.info "${DIR}"/config.pck; doneSorry for wasting your time on this one. Coffee is on me.
On Mon, Jul 30, 2018 at 6:05 PM Mark Sapiro <mark@msapiro.net> wrote:
On 07/30/2018 07:37 AM, Ryan McClung wrote:
GNU Mailman 3.2.0 (La Villa Strangiato) Python 3.6.5 (default, Apr 10 2018, 17:08:37) [GCC 4.8.5 20150623 (Red Hat 4.8.5-16)] config file: /opt/mailman/var/etc/mailman.cfg db url: sqlite:////opt/mailman/var/data/mailman.db devmode: DISABLED REST root url: http://localhost:8001/3.1/
Shortly after I run an import on a bunch of lists they all disappear. [root@mailman3(stg) mailman]# mailman lists No matching mailing lists found
I have 30+ lists.
Does the 'mailman lists' command invoke the identical 'mailman' file as the 'mailman import21' command that did the imports. And how did you create the lists before importing them?
We have done several imports of 2.1 lists to <https://mail.python.org/mm3/mailman3/> and have never seen an issue like this.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
--
Ryan McClung Systems Administrator @ Afilias Canada A. 204-4141 Yonge Street, Toronto, ON, Canada, M2P 2A8 <https://maps.google.com/?q=4141+Yonge+Street,+Toronto,+ON,+Canada,+M2P+2A8&entry=gmail&source=g> W. www.afilias.info T. +1.416.646.3304 x4186
--
Ryan McClung Systems Administrator @ Afilias Canada A. 204-4141 Yonge Street, Toronto, ON, Canada, M2P 2A8 <https://maps.google.com/?q=4141+Yonge+Street,+Toronto,+ON,+Canada,+M2P+2A8&entry=gmail&source=g> W. www.afilias.info T. +1.416.646.3304 x4186