Question: What happens if I delete a user from all lists and that user is sole owner of some list?
Hi,
One of the great things about our new installation compared with our old is the ability to manage users via
https://our.wee.domain/postorius/users
I might have been able to manage them using the command line on the old installation, but there is no 'mailman delmembers' on that box.
Since I now have this Mighty Power, I want to use it to clean up. There are many users who should no longer be on the system, so I want to run something along the lines of:
mailman delmembers --member some@email.address --fromall
--no-goodbye-msg --no-admin-notify
or, if I'm feeling brave, something like this.
mailman delmembers --file somefile --fromall
--no-goodbye-msg --no-admin-notify
My question is: If one of these users is the sole owner of a list, what will happen? Will the user be deleted and that list now owner-less? Will mailman refuse to delete that user until I add a new owner?
Thanks in advance for your feedback.
Cheers,
David
On Wed, Apr 3, 2024 at 2:07 PM David Partain via Mailman-users < mailman-users@mailman3.org> wrote:
Hi,
One of the great things about our new installation compared with our old is the ability to manage users via
https://our.wee.domain/postorius/users
I might have been able to manage them using the command line on the old installation, but there is no 'mailman delmembers' on that box.
Since I now have this Mighty Power, I want to use it to clean up. There are many users who should no longer be on the system, so I want to run something along the lines of:
mailman delmembers --member some@email.address --fromall
--no-goodbye-msg --no-admin-notifyor, if I'm feeling brave, something like this.
mailman delmembers --file somefile --fromall
--no-goodbye-msg --no-admin-notifyMy question is: If one of these users is the sole owner of a list, what will happen? Will the user be deleted and that list now owner-less? Will mailman refuse to delete that user until I add a new owner?
Thanks in advance for your feedback.
- Create a testlist
- Assign an owner to it
- Delete the owner via the CLI or Postorius
Give us your feedback :)
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 In an Internet failure case, the #1 suspect is a constant: DNS. "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]
On Wed, 2024-04-03 at 15:14 +0300, Odhiambo Washington wrote:
My question is: If one of these users is the sole owner of a list, what will happen? Will the user be deleted and that list now owner-less? Will mailman refuse to delete that user until I add a new owner?
Thanks in advance for your feedback.
- Create a testlist
- Assign an owner to it
- Delete the owner via the CLI or Postorius
Give us your feedback :)
I'll happily do so, and thanks for the idea. Try stuff, David!
Cheers,
Daudi Mwisho, as my mom liked to call me
On Wed, Apr 3, 2024 at 6:58 PM David Partain <david.partain@ericsson.com> wrote:
On Wed, 2024-04-03 at 15:14 +0300, Odhiambo Washington wrote:
My question is: If one of these users is the sole owner of a list, what will happen? Will the user be deleted and that list now owner-less? Will mailman refuse to delete that user until I add a new owner?
Thanks in advance for your feedback.
- Create a testlist
- Assign an owner to it
- Delete the owner via the CLI or Postorius
Give us your feedback :)
I'll happily do so, and thanks for the idea. Try stuff, David!
Cheers,
Daudi Mwisho, as my mom liked to call me
Aah. Mswahili :-)
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 In an Internet failure case, the #1 suspect is a constant: DNS. "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]
On 4/3/24 04:07, David Partain via Mailman-users wrote:
I might have been able to manage them using the command line on the old installation, but there is no 'mailman delmembers' on that box.
There is bin/remove_members.
My question is: If one of these users is the sole owner of a list, what will happen? Will the user be deleted and that list now owner-less? Will mailman refuse to delete that user until I add a new owner?
The mailman delmembers
command deletes only members, i.e those with
MemberRole member. It does not delete owners, moderators or nonmembers.
You may also be interested in the script at https://www.msapiro.net/scripts/clean_users.py
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (3)
-
David Partain
-
Mark Sapiro
-
Odhiambo Washington