[Mailman-Users] Mass add a single email address
Mark Sapiro
mark at msapiro.net
Thu Oct 23 17:19:03 CEST 2008
Brian Carpenter wrote:
>
>Is there a way to add a single e-mail addy to about 30 lists at once? This
>needs to be done on a server that runs mailman in a cpanel and virtual host
>environment. The add_members options does not seem to allow for this.
Run add_members in a shell script. For example
#!/bin/sh
for list in `cat file_of_lists` ; do
echo Real Name <user at example.com> | bin/add_members -r - $list
done
If the 30 or so lists are all the lists in the installation, replace
`cat file_of_lists` with `bin/lists_lists --bare`.
--
Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the Mailman-Users
mailing list