[Mailman-Users] Site administrative broadcast to all lists andalllist members - server wide

Mark Sapiro mark at msapiro.net
Tue Dec 22 00:43:45 CET 2009


Brandon Rodak wrote:
>
>Thanks for your advice on the broadcast message and how to add the
>appropriate header.  I guess my next question would be if it is possible at
>all to send such a broadcast message to all lists (and thus all list
>members) at one time.  I have 60 + distinct/unique lists and would not want
>to send the same message sixty times if I did not have to - Any ideas?


bin/find_member . | grep -v "^ " | sed "s/ found in://" | \
xargs mail < message_file -s "The Subject"

If you want to include owners and moderators who aren't list members,

#!bin/sh
bin/find_member . | grep -v "^ " | sed "s/ found in://" > member_file
bin/list_owners -m > owner_moderator_file
sort -u member_file owner_moderator_file | \
xargs mail < message_file -s "The Subject"


-- 
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