You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To close large lists we use the command line method:
sympa.pl --close_list=list@robot
since the process takes long enough that the web method times out.
Today we ran into a situation where were needed to restore a large
list, but there doesn't seem to be a --restore_list option.
I took a look at what wwsympa is doing and for closing lists (in
do_close_list) and it's calling the generic $list->close from List.pm,
but for restoring lists (in do_restore_list) it's doing a bunch of
the work itself (change status, save config, restore subscriber dump,
insert users in db, savestats, setup aliases, etc).
Could it be refactored and moved into a $list->restore
in List.pm and we could also get a --restore_list option?
Thanks
The text was updated successfully, but these errors were encountered:
To close large lists we use the command line method:
sympa.pl --close_list=list@robot
since the process takes long enough that the web method times out.
Today we ran into a situation where were needed to restore a large
list, but there doesn't seem to be a --restore_list option.
I took a look at what wwsympa is doing and for closing lists (in
do_close_list) and it's calling the generic $list->close from List.pm,
but for restoring lists (in do_restore_list) it's doing a bunch of
the work itself (change status, save config, restore subscriber dump,
insert users in db, savestats, setup aliases, etc).
Could it be refactored and moved into a $list->restore
in List.pm and we could also get a --restore_list option?
Thanks
The text was updated successfully, but these errors were encountered: