Hello,

Jerome Warnier writes:
> I would like to have all members of various mailing-lists to be automatically 
> subscribed to one mailing-list joining them all.
You need a script something like this:

----------------------join.sh----------------------------------
#!/bin/bash
find /home/mailman/lists/ -type d|sed 's/\/home\/mailman\/lists\///g' > /tmp/listnames
for i in `cat /tmp/listnames`; do /home/mailman/bin/list_members $i > /tmp/member1; 
done
sort /tmp/member1|uniq > /tmp/members
/home/mailman/bin/sync_members --welcome-msg=no -f /tmp/members $1

rm -f /tmp/listnames /tmp/member1 /tmp/members
---------------------join.sh-----------------------------------

Run like this:
% ./join.sh joined_mailinglist_name

After that remove the unwanted mailing-lists, keep only the joined
mailinglist.

I haven't tested this script, please be carefully with it and modify
for your configuration.

Bye,

Szilard Vizi
-------------
mailto:[EMAIL PROTECTED]             UIN:10676592

------------------------------------------------------
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users

Reply via email to