Just installed Mailman, and being such a noob, I can't seem to work out how to utilise the add_members script correctly.
./add_members user@address.com listname
It complains that I haven't used one of the -r or -d options, and that's where I am not clear as to what filename/paths I should be using.
Could somebody hit me with an appropriately sized 'clue stick' ?? :-)
Thanks.
:: Just installed Mailman, and being such a noob, I can't seem to work out how :: to utilise the add_members script correctly. :: :: ./add_members user@address.com listname :: :: It complains that I haven't used one of the -r or -d options, and that's :: where I am not clear as to what filename/paths I should be using.
If you run the add_members command without any arguments, it'll show you this:
--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.
So, what you should be doing is something like this:
echo "user@address.com" | ./add_members -r - listname
:: Could somebody hit me with an appropriately sized 'clue stick' ?? :-)
Consider it done :)
Cheers - Erick
On Sun, 2003-12-28 at 20:37, Brendan Pratt wrote:
Just installed Mailman, and being such a noob, I can't seem to work out how to utilise the add_members script correctly.
./add_members user@address.com listname
It complains that I haven't used one of the -r or -d options, and that's where I am not clear as to what filename/paths I should be using.
Could somebody hit me with an appropriately sized 'clue stick' ?? :-)
Thanks.
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.
--changes-msg=<y|n>
-c <y|n>
Set whether or not to send the list members the `there's going
to be big changes to your list' message. defaults to no.
--welcome-msg=<y|n>
-w <y|n>
Set whether or not to send the list members a welcome message,
overriding whatever the list's `send_welcome_msg' setting is.
--admin-notify=<y|n>
-a <y|n>
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.
--help
-h
Print this help message and exit.
====== Even bigger clue ======
vi list.txt emailaddress@domain.com another@domain.com ernie@sesame.str.org
add_members -r list.txt mylistname
#adds the three users from list.txt to the mailing list "mylistname".
HtH - Jon Carnes
At 12:39 PM 29/12/03, Jon Carnes wrote:
On Sun, 2003-12-28 at 20:37, Brendan Pratt wrote:
Just installed Mailman, and being such a noob, I can't seem to work out how to utilise the add_members script correctly.
./add_members user@address.com listname
Could somebody hit me with an appropriately sized 'clue stick' ?? :-)
Usage: add_members [options] listname
====== Even bigger clue ======
vi list.txt emailaddress@domain.com another@domain.com ernie@sesame.str.org
add_members -r list.txt mylistname
#adds the three users from list.txt to the mailing list "mylistname".
That did it..... I was trying to put the email address in the command line, rather than putting the email address in a text file, and then feeding the text file to the script.
Thanks again guys.
participants (3)
-
Brendan Pratt
-
Erick Mechler
-
Jon Carnes