how to delete a list member using the Linux command line
I have Mailman 3.2.1 installed (on Debian Linux), using exim4 as the MTA.
I have been trying to figure out how to use the Linux command line to add members to a list and delete members from a list, but am having trouble with deleting.
Here is what works for adding a list member... % echo mike@foo.com | mailman members --add - mylist@domain.org
Here is what works for viewing the list members... % mailman members mylist@domain.org
But I'm having trouble deleting a member. Here is what I have tried that didn't work...
# echo mike@foo.com | mailman members --delete - mylist@domain.org Usage: mailman members [OPTIONS] LISTSPEC Try "mailman members -h" for help. Error: no such option: --delete # echo mike@foo.com | mailman members --delmembers - mylist@domain.org Usage: mailman members [OPTIONS] LISTSPEC Try "mailman members -h" for help. Error: no such option: --delmembers
What is the correct command to delete the member mike@foo.com from the list mylist@domain.org?
(I ran "mailman members -h", and it mentions "add" but does not mention deleting at all.)
On 6/19/20 7:29 AM, Mike Wertheim wrote:
I have Mailman 3.2.1 installed (on Debian Linux), using exim4 as the MTA.
I have been trying to figure out how to use the Linux command line to add members to a list and delete members from a list, but am having trouble with deleting.
The --delete option to mailman members
was introduced in Mailman
3.3.0. Your version doesn't have it.
Note that as of the next (3.3.2) release, the --add, --delete and --sync
options to mailman members
are deprecated in favor of new mailman addmembers
, mailman delmembersand
mailman syncmembers` commands.
It should be possible for you to install the current versions of all of
these without upgrading just by copying the cli_*members.py
files from
<https://gitlab.com/mailman/mailman/-/tree/master/src/mailman/commands>
to the mailman/commands/
directory in your current installation.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Thanks!
I'm on Debian 10, and the latest Mailman version that's available in the Debian package manager is 3.2.1.
I really have no idea how packages get updated in the package manager. Do you know why Mailman 3.3.1 is not yet available in Debian's package manager? (Does someone on the Mailman project need to push it there? Or does someone on the Debian side need to pull it in?)
On Fri, Jun 19, 2020 at 1:24 PM Mark Sapiro <mark@msapiro.net> wrote:
On 6/19/20 7:29 AM, Mike Wertheim wrote:
I have Mailman 3.2.1 installed (on Debian Linux), using exim4 as the MTA.
I have been trying to figure out how to use the Linux command line to add members to a list and delete members from a list, but am having trouble with deleting.
The --delete option to
mailman members
was introduced in Mailman 3.3.0. Your version doesn't have it.Note that as of the next (3.3.2) release, the --add, --delete and --sync options to
mailman members
are deprecated in favor of newmailman addmembers
, mailman delmembersand
mailman syncmembers` commands.It should be possible for you to install the current versions of all of these without upgrading just by copying the
cli_*members.py
files from <https://gitlab.com/mailman/mailman/-/tree/master/src/mailman/commands> to themailman/commands/
directory in your current installation.-- 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/
On 6/19/20 2:10 PM, Mike Wertheim wrote:
Thanks!
I'm on Debian 10, and the latest Mailman version that's available in the Debian package manager is 3.2.1.
I really have no idea how packages get updated in the package manager. Do you know why Mailman 3.3.1 is not yet available in Debian's package manager? (Does someone on the Mailman project need to push it there? Or does someone on the Debian side need to pull it in?)
The Debian packaging folks are aware of all our releases. Packaging them is up to Debian. See this reply <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=960072#10> to a different issue for a bit more info.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Mark Sapiro
-
Mike Wertheim