On Sat, Nov 21, 2009 at 09:31:53AM -0500, Harold Pritchett wrote:
> Thanks for the ideas. Here's what I ended up with:
>
> USER=$(/usr/bin/id -un)
>
> if [ $USER != root ] ; then
> echo This command must be run as root
I see no reason to run it as root: it should work with any
user-account
Martin Schütte wrote:
Harold Pritchett wrote:
How do I list all of the members of all of my lists.
Thanks for the ideas. Here's what I ended up with:
#!/bin/bash
USER=$(/usr/bin/id -un)
if [ $USER != root ] ; then
echo This command must be run as root
exit
fi
if [ $# -ne 1 ]
the
Harold Pritchett wrote:
> How do I list all of the members of all of my lists.
Hello,
I use this script to get a list of all lists and all members:
#! /bin/sh
for i in `/usr/local/mailman/bin/list_lists | tail +2 | awk '{print
$1}'`; do \
for j in `/usr/local/mailman/bin/list_members $i`; do \
On Fri, Nov 20, 2009 at 02:10:06PM -0500, Harold Pritchett wrote:
> How do I list all of the members of all of my lists.
>
> Actually, I need to delete all users from a domain
> and the command "remove_members --fromall --nouserack"
> does not accept wildcards.
>
> If I can get a list of all user
How do I list all of the members of all of my lists.
Actually, I need to delete all users from a domain
and the command "remove_members --fromall --nouserack"
does not accept wildcards.
If I can get a list of all users, I can then grep it
for the domain name and run remove_members for each
of th