Getting this error when manually adding new members to Mailman list through Webmin:
Failed to add list member : Add members to a list from the command line. Usage: add_members [options] listname Options: --regular-members-file=file
-r file A file containing addresses of the members to be added, one address per line. This list of people become non-digest
members. If file is `-', read addresses from stdin. Note that -n/--non-digest-members-file are deprecated synonyms for this option. --digest-members-file=file
-d file Similar to above, but these people become digest members. --welcome-msg= -w Set whether or not to send the list members a welcome
message, overriding whatever the list's `send_welcome_msg' setting is. --admin-notify= -a Set whether or not to send the list administrators
a notification on the success/failure of these subscriptions, overriding whatever the list's `admin_notify_mchanges' setting is. --nomail
-n Set the newly added members mail delivery to disabled by admin. --help -h Print this help message and exit. listname
The name of the Mailman list you are adding members to. It must already exist. You must supply at least one of -r and -d options. At
most one of the files can be `-'.
Comments
Submitted by andreychek on Fri, 04/15/2016 - 12:42 Comment #1
Howdy -- what Webmin and Virtualmin version are you using there?
And are you just using the standard mailman version that comes with Ubuntu 14.04?
Submitted by justinromack on Fri, 04/15/2016 - 20:30 Pro Licensee Comment #2
Howdy -- thanks for your reply.
Virtualmin version: 5.01 Webmin version: 1.791
And yes, just the standard version of Mailman. Thanks so much!
Submitted by schoolcoder on Sat, 02/04/2017 - 15:50 Comment #3
I'm having the same problem adding users to a mailing list. Running Ubuntu 14.04, WVirtualmin 5.05.gpl, and standard version of Mailman (version 2.1.16). Any suggestions?
Submitted by nodo50 on Tue, 04/04/2017 - 04:53 Pro Licensee Comment #4
Hi, I have the same issue after upgrade Mailman in Debian 7 using the wheezy-backports Mailman package.
Debian 7.11
Virtualmin GPL and Pro: 5.07
Mailman: 1:2.1.18-2~bpo70+1
Webmin-virtualmin-mailman: 6.3
Using the button "Members" I can list and delete members, but no add.
I can add member using the Mailman web interface.
It seems one or more parameters are not passed fine to add_members script.
Error message:
Failed to add list member : Add members to a list from the command line. Usage: add_members [options] listname Options: --regular-members-file=file -r file A file containing addresses of the members to be added, one address per line. This list of people become non-digest members. If file is
-', read addresses from stdin. Note that -n/--non-digest-members-file are deprecated synonyms for this option. --digest-members-file=file -d file Similar to above, but these people become digest members. --welcome-msg= -w Set whether or not to send the list members a welcome message, overriding whatever the list's
send_welcome_msg' setting is. --admin-notify= -a Set whether or not to send the list administrators a notification on the success/failure of these subscriptions, overriding whatever the list'sadmin_notify_mchanges' setting is. --nomail -n Set the newly added members mail delivery to disabled by admin. --help -h Print this help message and exit. listname The name of the Mailman list you are adding members to. It must already exist. You must supply at least one of -r and -d options. At most one of the files can be
-'.Submitted by nodo50 on Tue, 04/04/2017 - 06:23 Pro Licensee Comment #5
Debian 7 standard Mailman package is Mailman 2.1.15, the wheezy-backports package is Mailman 2.1.18.
It seems something changes in add_members script, they added a new option in version 2.1.16
--nomail
-n
Set the newly added members mail delivery to disabled by admin.
If I choose "Members gets digests? Yes" the subscription process works, it only fails when "Members gets digests?" == No (I think then virtualmin-mailman-lib.pl adds a -n to the command)
this helps?
Submitted by nodo50 on Wed, 02/07/2018 - 05:54 Pro Licensee Comment #6
fixed
Submitted by nodo50 on Wed, 02/07/2018 - 05:54 Pro Licensee Comment #7
fixed