
We use the add_members command to add members into a list. For members, we can create a file and include more than one. Is there something similar for lists? We want to add members into more than one list.
Thank you,

On 06/19/2014 09:41 PM, Hung Phan wrote:
We use the add_members command to add members into a list. For members, we can create a file and include more than one. Is there something similar for lists? We want to add members into more than one list.
Make file1 containing the names of the lists you want to add to and file2 containing the names and addresses of the users you want to add. Then put this in file3
#! /bin/bash
for l in cat $1
do
/path/to/bin/add_members -r $2 [other options] $l
done
give it execute permission and run
/path/to/file3 /path/to/file1 /path/to/file2
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

I try to add member to maillist.
./add_members -r filename.txt listname
in the file filename.txt it will exist a user like Lönn <lonn@gmail.com> # Written as utf-8
When I look at memberlist afterwards at the web will it look like
lonn@gmail.com Lönn # Written the utf-8 as two characters
What is the problem and what is the solution
/LeSve

On 06/23/2014 01:29 PM, just.mailman@lesve.org wrote:
I try to add member to maillist.
./add_members -r filename.txt listname
in the file filename.txt it will exist a user like Lönn <lonn@gmail.com> # Written as utf-8
When I look at memberlist afterwards at the web will it look like
lonn@gmail.com Lönn # Written the utf-8 as two characters
What is the problem and what is the solution
The problem is Mailman's character set for the list's preferred_language is not utf-8, and the input files for add_members need to be encoded in Mailman's character set for the list's preferred_language.
If you don't know Mailman's character set for the list's preferred language, see lines 1578 through 1616 at <http://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/Mailman/D...>.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (3)
-
Hung Phan
-
just.mailman@lesve.org
-
Mark Sapiro